summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/Inputs/struct2.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ASTMerge/Inputs/struct2.c')
-rw-r--r--clang/test/ASTMerge/Inputs/struct2.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/struct2.c b/clang/test/ASTMerge/Inputs/struct2.c
index a707ed2a5bf..d865eef895d 100644
--- a/clang/test/ASTMerge/Inputs/struct2.c
+++ b/clang/test/ASTMerge/Inputs/struct2.c
@@ -31,3 +31,12 @@ struct S6 { int i : 8; unsigned j; } x6;
// Bit-field mismatch
struct S7 { int i : 8; unsigned j : 16; } x7;
+
+// Incomplete type
+struct S8 { int i; float f; } *x8;
+
+// Incomplete type
+struct S9 *x9;
+
+// Incomplete type
+struct S10 *x10;
OpenPOWER on IntegriCloud