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