diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-12 00:09:27 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-12 00:09:27 +0000 |
commit | e72b5dc556805ea4c91f0ae6d8f8404fc341b687 (patch) | |
tree | 6730fc2095f47215cf328045218aa358517aae88 /test/ASTMerge/Inputs/struct2.c | |
parent | e6bbc01d1c4ec5241df36042e0a4a12a6711934b (diff) |
Handle AST merges of incomplete class types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ASTMerge/Inputs/struct2.c')
-rw-r--r-- | test/ASTMerge/Inputs/struct2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/struct2.c b/test/ASTMerge/Inputs/struct2.c index a707ed2a5b..d865eef895 100644 --- a/test/ASTMerge/Inputs/struct2.c +++ b/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; |