summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/Inputs/struct1.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ASTMerge/Inputs/struct1.c')
-rw-r--r--clang/test/ASTMerge/Inputs/struct1.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/struct1.c b/clang/test/ASTMerge/Inputs/struct1.c
new file mode 100644
index 00000000000..381f00a0a63
--- /dev/null
+++ b/clang/test/ASTMerge/Inputs/struct1.c
@@ -0,0 +1,16 @@
+typedef int Int;
+typedef float Float;
+
+struct S0 {
+ Int field1;
+ Float field2;
+};
+
+struct S0 x0;
+
+struct S1 {
+ Int field1;
+ int field2;
+};
+
+struct S1 x1;
OpenPOWER on IntegriCloud