summaryrefslogtreecommitdiff
path: root/test/ASTMerge/Inputs/inheritance-base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/inheritance-base.cpp')
-rw-r--r--test/ASTMerge/Inputs/inheritance-base.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/inheritance-base.cpp b/test/ASTMerge/Inputs/inheritance-base.cpp
new file mode 100644
index 0000000000000..26fe42eb64da3
--- /dev/null
+++ b/test/ASTMerge/Inputs/inheritance-base.cpp
@@ -0,0 +1,7 @@
+class A
+{
+public:
+ int x;
+ A(int _x) : x(_x) {
+ }
+};