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