xref: /minix3/external/bsd/llvm/dist/clang/test/ASTMerge/Inputs/class1.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc struct A {
2*f4a2713aSLionel Sambuc   int x;
3*f4a2713aSLionel Sambuc };
4*f4a2713aSLionel Sambuc 
5*f4a2713aSLionel Sambuc struct B : A {
6*f4a2713aSLionel Sambuc   float y;
7*f4a2713aSLionel Sambuc   float foo();
8*f4a2713aSLionel Sambuc };
9*f4a2713aSLionel Sambuc 
10*f4a2713aSLionel Sambuc struct C {
11*f4a2713aSLionel Sambuc   C(int i = 10);
12*f4a2713aSLionel Sambuc   C(const C&);
13*f4a2713aSLionel Sambuc   C &operator=(C&);
14*f4a2713aSLionel Sambuc   ~C();
15*f4a2713aSLionel Sambuc };
16*f4a2713aSLionel Sambuc 
17*f4a2713aSLionel Sambuc enum E {
18*f4a2713aSLionel Sambuc   b = 1
19*f4a2713aSLionel Sambuc };
20