1 struct A { 2 public: 3 int x; 4 }; 5 6 struct B : A { 7 float y; 8 float foo(); 9 }; 10 11 struct C { 12 C(int i = 10); 13 C(const C&); 14 C &operator=(C&); 15 ~C(); 16 }; 17 18 enum E { 19 b = 1 20 }; 21