aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ASTMerge/Inputs/struct1.c7
-rw-r--r--test/ASTMerge/Inputs/struct2.c6
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;