diff options
Diffstat (limited to 'test/ASTMerge/struct.c')
-rw-r--r-- | test/ASTMerge/struct.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ASTMerge/struct.c b/test/ASTMerge/struct.c index d71436f2fc..e72b93b249 100644 --- a/test/ASTMerge/struct.c +++ b/test/ASTMerge/struct.c @@ -34,6 +34,9 @@ // CHECK: struct1.c:56:10: warning: type 'struct DeeperError' has incompatible definitions in different translation units // CHECK: struct1.c:56:35: note: field 'f' has type 'int' here // CHECK: struct2.c:53:37: note: field 'f' has type 'float' here +// CHECK: struct1.c:54:8: warning: type 'struct DeepError' has incompatible definitions in different translation units +// CHECK: struct1.c:56:41: note: field 'Deeper' has type 'struct DeeperError *' here +// CHECK: struct2.c:53:43: note: field 'Deeper' has type 'struct DeeperError *' here // CHECK: struct2.c:54:3: error: external variable 'xDeep' declared with incompatible types in different translation units ('struct DeepError' vs. 'struct DeepError') // CHECK: struct1.c:57:3: note: declared here with type 'struct DeepError' // CHECK: 37 diagnostics |