clang-1/test/ASTMerge/Inputs/class1.cpp

20 строки
164 B
C++

struct A {
int x;
};
struct B : A {
float y;
float foo();
};
struct C {
C(int i = 10);
C(const C&);
C &operator=(C&);
~C();
};
enum E {
b = 1
};