blob: fbe26ea0ab87526e724aa4e128ab228c8303f744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
struct A {
struct {
int x = 1;
};
} a;
struct B {
// Anonymous struct inherits another struct.
struct : public A {
int z = 3;
};
} b;
int main(int argc, char **argv) { return 0; }
|