summaryrefslogtreecommitdiffstats
path: root/test/ASTMerge/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs')
-rw-r--r--test/ASTMerge/Inputs/class1.cpp4
-rw-r--r--test/ASTMerge/Inputs/class2.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/class1.cpp b/test/ASTMerge/Inputs/class1.cpp
index b600cdb..0cd6565 100644
--- a/test/ASTMerge/Inputs/class1.cpp
+++ b/test/ASTMerge/Inputs/class1.cpp
@@ -13,3 +13,7 @@ struct C {
C &operator=(C&);
~C();
};
+
+enum E {
+ b = 1
+};
diff --git a/test/ASTMerge/Inputs/class2.cpp b/test/ASTMerge/Inputs/class2.cpp
index fa38916..5d5d9ca 100644
--- a/test/ASTMerge/Inputs/class2.cpp
+++ b/test/ASTMerge/Inputs/class2.cpp
@@ -7,3 +7,7 @@ struct B : A {
int foo();
};
+enum E {
+ a = 0,
+ b = 1
+};
OpenPOWER on IntegriCloud