diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-11 18:18:11 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-11 18:18:11 +0000 |
commit | b203c9ee39be3170a7d545db057de8ea62959259 (patch) | |
tree | 4a87bf96203528fa8534621cc2a13158ab19b2ce /test/ASTMerge/Inputs/struct2.c | |
parent | ae24a88655c461e751d0984cc21dda6e17882356 (diff) |
Add missing test cases for AST merging of structures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95886 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ASTMerge/Inputs/struct2.c')
-rw-r--r-- | test/ASTMerge/Inputs/struct2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/struct2.c b/test/ASTMerge/Inputs/struct2.c new file mode 100644 index 0000000000..0a90609006 --- /dev/null +++ b/test/ASTMerge/Inputs/struct2.c @@ -0,0 +1,13 @@ +struct S0 { + int field1; + float field2; +}; + +struct S0 x0; + +struct S1 { + int field1; + float field2; +}; + +struct S1 x1; |