diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-12 23:44:20 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-12 23:44:20 +0000 |
commit | 5ce5dab3c30e4255b8f62b148b6a86f09a444aaa (patch) | |
tree | df7c8b0b9d4c369d49a7afac60259b95ba9b7477 /test/ASTMerge/Inputs | |
parent | 974be4d50a95317a85b111855946f5aa4bd15887 (diff) | |
download | clang-5ce5dab3c30e4255b8f62b148b6a86f09a444aaa.tar.gz |
Funnel changes to the ImportedDecls list in the ASTImporter through a
single Imported function, in preparation for fixing a serious design
flaw.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ASTMerge/Inputs')
-rw-r--r-- | test/ASTMerge/Inputs/struct1.c | 7 | ||||
-rw-r--r-- | test/ASTMerge/Inputs/struct2.c | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/ASTMerge/Inputs/struct1.c b/test/ASTMerge/Inputs/struct1.c index ff8fa0a04a..10c8fce42a 100644 --- a/test/ASTMerge/Inputs/struct1.c +++ b/test/ASTMerge/Inputs/struct1.c @@ -44,3 +44,10 @@ struct S9 { int i; float f; } *x9; // Incomplete type struct S10 *x10; +// FIXME: Matches, but crashes the importer +#if 0 +struct ListNode { + int value; + struct ListNode *Next; +} xList; +#endif diff --git a/test/ASTMerge/Inputs/struct2.c b/test/ASTMerge/Inputs/struct2.c index d865eef895..655efd43db 100644 --- a/test/ASTMerge/Inputs/struct2.c +++ b/test/ASTMerge/Inputs/struct2.c @@ -40,3 +40,9 @@ struct S9 *x9; // Incomplete type struct S10 *x10; + +// Matches +struct ListNode { + int value; + struct ListNode *Next; +} xList; |