Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/access10.C

raw
1 // { dg-do assemble }
2 // Test that defining a static member of private type with the () syntax works.
3
4 class A {
5 private:
6 struct B { B(int) {} };
7 static B b;
8 };
9 A::B A::b (1);