From a5427447a3824fef36cf3c9136641b5756d20563 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Mon, 23 Jul 2012 09:32:54 +0000 Subject: [PATCH] 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 --- test/CodeGenCXX/mangle-ms.cpp | 13 +++++++++---- 1 file 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 {}; -- 2.40.0