Debian Codegraph @

gcc/testsuite/g++.dg/warn/ctor-dtor-privacy-1.C

raw
1 // { dg-options "-Wctor-dtor-privacy" }
2
3 struct C { // { dg-warning "" }
4 static bool result;
5 private:
6 static bool check();
7 };
8
9 bool C::result = check();