John McCall | 1c70e99 | 2010-06-03 19:28:45 +0000 | [diff] [blame] | 1 | struct A { |
Argyrios Kyrtzidis | 544ea71 | 2016-02-18 23:08:36 +0000 | [diff] [blame] | 2 | public: |
3 | int x; | ||||
John McCall | 1c70e99 | 2010-06-03 19:28:45 +0000 | [diff] [blame] | 4 | }; |
5 | |||||
6 | struct B : A { | ||||
7 | int y; | ||||
8 | int foo(); | ||||
9 | }; | ||||
Douglas Gregor | 0eaa2bf | 2010-10-01 23:55:07 +0000 | [diff] [blame] | 10 | |
Richard Smith | 5bb4cdf | 2012-12-20 02:22:15 +0000 | [diff] [blame] | 11 | enum E { |
12 | a = 0, | ||||
13 | b = 1 | ||||
14 | }; |