aboutsummaryrefslogtreecommitdiff
path: root/test/ASTMerge/Inputs/struct1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/Inputs/struct1.c')
-rw-r--r--test/ASTMerge/Inputs/struct1.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/ASTMerge/Inputs/struct1.c b/test/ASTMerge/Inputs/struct1.c
index 10c8fce42a..e6d71ac1b4 100644
--- a/test/ASTMerge/Inputs/struct1.c
+++ b/test/ASTMerge/Inputs/struct1.c
@@ -44,10 +44,14 @@ struct S9 { int i; float f; } *x9;
// Incomplete type
struct S10 *x10;
-// FIXME: Matches, but crashes the importer
-#if 0
+// Matches
struct ListNode {
int value;
struct ListNode *Next;
} xList;
-#endif
+
+// Mismatch due to struct used internally
+struct DeepError {
+ int value;
+ struct DeeperError { int i; int f; } *Deeper;
+} xDeep;