John McCall | 5250f27 | 2010-06-03 19:28:45 +0000 | [diff] [blame] | 1 | struct A { |
2 | int x; | ||||
3 | }; | ||||
4 | |||||
5 | struct B : A { | ||||
6 | float y; | ||||
7 | float foo(); | ||||
8 | }; | ||||
Douglas Gregor | 81134ad | 2010-10-01 23:55:07 +0000 | [diff] [blame] | 9 | |
10 | struct C { | ||||
11 | C(int i = 10); | ||||
12 | C(const C&); | ||||
13 | C &operator=(C&); | ||||
14 | ~C(); | ||||
15 | }; |