]> granicus.if.org Git - clang/commitdiff
Replace wrong CHECK array mangling expectations with correct CHECK-NOT+FIXME (PR13182)
authorTimur Iskhodzhanov <timurrrr@google.com>
Mon, 23 Jul 2012 09:32:54 +0000 (09:32 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Mon, 23 Jul 2012 09:32:54 +0000 (09:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160625 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/mangle-ms.cpp

index 58d48cbb60a5bebf5b9b92826ec6656b52d3e1cc..30d67f08e01ee73b62a4ea1477720782541954f4 100644 (file)
 // 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 {};