summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/Inputs/struct1.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-12 00:09:27 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-12 00:09:27 +0000
commit2579105c4e4057b18ac78f5b9fd546e7350f1ec4 (patch)
treedc58f74f29ceeb7cde04486d97aab7dbec66c7cc /clang/test/ASTMerge/Inputs/struct1.c
parent90073804fb1cf6e6273bce41ecaaa9e1a0c33b8f (diff)
downloadbcm5719-llvm-2579105c4e4057b18ac78f5b9fd546e7350f1ec4.tar.gz
bcm5719-llvm-2579105c4e4057b18ac78f5b9fd546e7350f1ec4.zip
Handle AST merges of incomplete class types.
llvm-svn: 95941
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