summaryrefslogtreecommitdiff
path: root/clang/test/ASTMerge/Inputs/class1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ASTMerge/Inputs/class1.cpp')
-rw-r--r--clang/test/ASTMerge/Inputs/class1.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/class1.cpp b/clang/test/ASTMerge/Inputs/class1.cpp
new file mode 100644
index 0000000..b600cdb
--- /dev/null
+++ b/clang/test/ASTMerge/Inputs/class1.cpp
@@ -0,0 +1,15 @@
+struct A {
+ int x;
+};
+
+struct B : A {
+ float y;
+ float foo();
+};
+
+struct C {
+ C(int i = 10);
+ C(const C&);
+ C &operator=(C&);
+ ~C();
+};