OSDN Git Service

2009-02-02 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / warn / ctor-dtor-privacy-1.C
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();