blob: b0a7645cfe630e4cefd157225bffc813888f33b5 [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 float y;
8 float foo();
9};
Douglas Gregor0eaa2bf2010-10-01 23:55:07 +000010
11struct C {
12 C(int i = 10);
13 C(const C&);
14 C &operator=(C&);
15 ~C();
16};
Richard Smith5bb4cdf2012-12-20 02:22:15 +000017
18enum E {
19 b = 1
20};