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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/struct1.c b/clang/test/ASTMerge/Inputs/struct1.c
index 5743fe0f487..ff8fa0a04ab 100644
--- a/clang/test/ASTMerge/Inputs/struct1.c
+++ b/clang/test/ASTMerge/Inputs/struct1.c
@@ -34,3 +34,13 @@ struct S6 { int i : 8; unsigned j : 8; } x6;
// Bit-field mismatch
struct S7 { int i : 8; unsigned j : 8; } x7;
+
+// Incomplete type
+struct S8 *x8;
+
+// Incomplete type
+struct S9 { int i; float f; } *x9;
+
+// Incomplete type
+struct S10 *x10;
+
OpenPOWER on IntegriCloud