summaryrefslogtreecommitdiff
path: root/test/ASTMerge/Inputs/class1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/class1.cpp')
-rw-r--r--test/ASTMerge/Inputs/class1.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/class1.cpp b/test/ASTMerge/Inputs/class1.cpp
new file mode 100644
index 000000000000..e13faf0539b1
--- /dev/null
+++ b/test/ASTMerge/Inputs/class1.cpp
@@ -0,0 +1,8 @@
+struct A {
+ int x;
+};
+
+struct B : A {
+ float y;
+ float foo();
+};