brintos

brintos / llvm-project-archived public Read only

0
0
Text · 200 B · fbe26ea Raw
15 lines · cpp
1struct A {2  struct {3    int x = 1;4  };5} a;6 7struct B {8  // Anonymous struct inherits another struct.9  struct : public A {10    int z = 3;11  };12} b;13 14int main(int argc, char **argv) { return 0; }15