Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / ASTMerge / class / Inputs / class1.cpp
blob2bd5503ecf3d50fb7d1c78e2f359eb0821b80ae3
1 struct A {
2 public:
3 int x;
4 };
6 struct B : A {
7 float y;
8 float foo();
9 };
11 struct C {
12 C(int i = 10);
13 C(const C&);
14 C &operator=(C&);
15 ~C();
18 enum E {
19 b = 1
22 //Friend import tests
23 void f();
24 int g(int a);
25 struct X;
26 struct Y;
28 struct F1 {
29 public:
30 int x;
31 friend struct X;
32 friend int g(int);
33 friend void f();
36 struct F2 {
37 public:
38 int x;
39 friend struct X;
40 friend void f();
43 struct F3 {
44 public:
45 int x;
46 friend int g(int);
47 friend void f();