diff options
| author | Gabor Horvath <xazax.hun@gmail.com> | 2017-04-03 21:06:45 +0000 |
|---|---|---|
| committer | Gabor Horvath <xazax.hun@gmail.com> | 2017-04-03 21:06:45 +0000 |
| commit | 3b392bb8d85d3cd6cf265e940884394d5f25d641 (patch) | |
| tree | bfc48f843c0d8d23a54741b624dee16b96cd6c45 /clang/test/ASTMerge/struct/test.c | |
| parent | e4bda114530953554602e1e88db35f1ce65e3ed9 (diff) | |
| download | bcm5719-llvm-3b392bb8d85d3cd6cf265e940884394d5f25d641.tar.gz bcm5719-llvm-3b392bb8d85d3cd6cf265e940884394d5f25d641.zip | |
Revert r299355 "[ASTImporter] Fix for importing unnamed structs"
It breaks windows bots.
llvm-svn: 299386
Diffstat (limited to 'clang/test/ASTMerge/struct/test.c')
| -rw-r--r-- | clang/test/ASTMerge/struct/test.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/clang/test/ASTMerge/struct/test.c b/clang/test/ASTMerge/struct/test.c index b7e24416d25..ed7750f6bec 100644 --- a/clang/test/ASTMerge/struct/test.c +++ b/clang/test/ASTMerge/struct/test.c @@ -44,12 +44,4 @@ // CHECK: struct2.c:72:7: note: field 'i' has type 'int' here // CHECK: struct2.c:76:5: error: external variable 'x13' declared with incompatible types in different translation units ('S13' vs. 'S13') // CHECK: struct1.c:79:5: note: declared here with type 'S13' -// CHECK: struct1.c:130:7: warning: type 'struct DeepUnnamedError::(anonymous at [[PATH_TO_INPUTS:.+]]/struct1.c:130:7)' has incompatible definitions in different translation units -// CHECK: struct1.c:131:14: note: field 'i' has type 'long' here -// CHECK: struct2.c:128:15: note: field 'i' has type 'float' here -// CHECK: struct1.c:129:5: warning: type 'union DeepUnnamedError::(anonymous at [[PATH_TO_INPUTS]]/struct1.c:129:5)' has incompatible definitions in different translation units -// CHECK: struct1.c:132:9: note: field 'S' has type 'struct (anonymous struct at [[PATH_TO_INPUTS]]/struct1.c:130:7)' here -// CHECK: struct2.c:129:9: note: field 'S' has type 'struct (anonymous struct at [[PATH_TO_INPUTS]]/struct2.c:127:7)' here -// CHECK: struct2.c:138:3: error: external variable 'x16' declared with incompatible types in different translation units ('struct DeepUnnamedError' vs. 'struct DeepUnnamedError') -// CHECK: struct1.c:141:3: note: declared here with type 'struct DeepUnnamedError' -// CHECK: 11 warnings and 9 errors generated +// CHECK: 9 warnings and 8 errors generated |

