summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-sizeof-expression.cpp
blob: f5f1f469cec08a4f2b473a9b9de6a89c2003afc5 (plain)
1
2
3
class C {
  int size() { return sizeof(this); }
};