aboutsummaryrefslogtreecommitdiff
path: root/test/ASTMerge/Inputs/struct2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/struct2.c')
-rw-r--r--test/ASTMerge/Inputs/struct2.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/struct2.c b/test/ASTMerge/Inputs/struct2.c
new file mode 100644
index 0000000000..0a90609006
--- /dev/null
+++ b/test/ASTMerge/Inputs/struct2.c
@@ -0,0 +1,13 @@
+struct S0 {
+ int field1;
+ float field2;
+};
+
+struct S0 x0;
+
+struct S1 {
+ int field1;
+ float field2;
+};
+
+struct S1 x1;