blob: 2bed6d775bc46e331460408019a58ef5d9832712 [file] [log] [blame]
John McCall1c70e992010-06-03 19:28:45 +00001struct A {
Argyrios Kyrtzidis544ea712016-02-18 23:08:36 +00002 public:
3 int x;
John McCall1c70e992010-06-03 19:28:45 +00004};
5
6struct B : A {
7 int y;
8 int foo();
9};
Douglas Gregor0eaa2bf2010-10-01 23:55:07 +000010
Richard Smith5bb4cdf2012-12-20 02:22:15 +000011enum E {
12 a = 0,
13 b = 1
14};