From d8482243fd48512711142be5490c670cf1abf41a Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi <geek4civic@gmail.com>
Date: Wed, 28 May 2014 10:53:06 +0000
Subject: [PATCH] Let clang/test/CodeGen/pr19841.cpp tolerant of MS mangler.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209726 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/CodeGen/pr19841.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/CodeGen/pr19841.cpp b/test/CodeGen/pr19841.cpp
index 1357be27aea..8fef68384fc 100644
--- a/test/CodeGen/pr19841.cpp
+++ b/test/CodeGen/pr19841.cpp
@@ -12,6 +12,7 @@ class A {
   unsigned char _highlightColorTableVGA[];
   static const unsigned char b[];
 };
+// CHECK: [[Common_A_b:@[^ ]+]] = constant [1 x i8] zeroinitializer
 class B {
 public:
   Common::RenderMode _configRenderMode;
@@ -22,7 +23,7 @@ A::A() {
       ? b
       : _highlightColorTableVGA;
 // Make sure the PHI value is casted correctly to the PHI type
-// CHECK: %{{.*}} = phi [0 x i8]* [ bitcast ([1 x i8]* @_ZN6Common1A1bE to [0 x i8]*), %{{.*}} ], [ %{{.*}}, %{{.*}} ]
+// CHECK: %{{.*}} = phi [0 x i8]* [ bitcast ([1 x i8]* [[Common_A_b]] to [0 x i8]*), %{{.*}} ], [ %{{.*}}, %{{.*}} ]
 }
 const unsigned char A::b[] = { 0 };
 }
-- 
GitLab