diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2012-07-23 09:32:54 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2012-07-23 09:32:54 +0000 |
commit | a5427447a3824fef36cf3c9136641b5756d20563 (patch) | |
tree | 246ec29b0ac624baf406fbe73297b2e20b4f8ae6 | |
parent | bed28ac1d1463adca3ecf24fca5c30646fa9dbb2 (diff) |
Replace wrong CHECK array mangling expectations with correct CHECK-NOT+FIXME (PR13182)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160625 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/mangle-ms.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test/CodeGenCXX/mangle-ms.cpp b/test/CodeGenCXX/mangle-ms.cpp index 58d48cbb60..30d67f08e0 100644 --- a/test/CodeGenCXX/mangle-ms.cpp +++ b/test/CodeGenCXX/mangle-ms.cpp @@ -13,8 +13,12 @@ // CHECK: @"\01?k@@3PTfoo@@DA" // CHECK: @"\01?l@@3P8foo@@AEHH@ZA" // CHECK: @"\01?color1@@3PANA" -// CHECK: @"\01?color2@@3PBNA" -// CHECK: @"\01?color3@@3PBY02NA" + +// FIXME: The following three tests currently fail, see PR13182. +// Replace "CHECK-NOT" with "CHECK" when it is fixed. +// CHECK-NOT: @"\01?color2@@3QBNB +// CHECK-NOT: @"\01?color3@@3QAY02$$CBNA +// CHECK-NOT: @"\01?color4@@3QAY02$$CBNA int a; @@ -139,11 +143,12 @@ void (redundant_parens)(); void redundant_parens_use() { redundant_parens(); } // CHECK: @"\01?redundant_parens@@YAXXZ" -// PR13047 +// PR13182, PR13047 typedef double RGB[3]; RGB color1; extern const RGB color2 = {}; -extern RGB const ((color3)[5]) = {}; +extern RGB const color3[5] = {}; +extern RGB const ((color4)[5]) = {}; // PR12603 enum E {}; |