forked from OSchip/llvm-project
Let clang/test/CodeGen/pr19841.cpp tolerant of MS mangler.
llvm-svn: 209726
This commit is contained in:
parent
d39312ec84
commit
753d70ce53
|
@ -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 };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue