summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/ctor-dtor-privacy-2.C
blob: 16873ab7821e2b1f2e2d789768ced31e51d91e96 (plain)
1
2
3
4
5
6
7
struct C {
   static bool result;
private:
   static bool check();
};

bool C::result = check();