summaryrefslogtreecommitdiff
path: root/test/ASTMerge/Inputs/anonymous-fields1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/anonymous-fields1.cpp')
-rw-r--r--test/ASTMerge/Inputs/anonymous-fields1.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/anonymous-fields1.cpp b/test/ASTMerge/Inputs/anonymous-fields1.cpp
new file mode 100644
index 000000000000..829bc0edd30a
--- /dev/null
+++ b/test/ASTMerge/Inputs/anonymous-fields1.cpp
@@ -0,0 +1,5 @@
+class A {
+public:
+ struct { int foo; } f;
+ struct { int foo; } g;
+};