☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
access10.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/access10.C
code
plain
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);