mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
unittests/Support/Casting.cpp: [PR8226] Workaround for MSVC|Debug.
llvm-svn: 148659
This commit is contained in:
parent
76b0745f6c
commit
999142ef4a
@ -69,7 +69,9 @@ namespace {
|
|||||||
|
|
||||||
const foo *null_foo = NULL;
|
const foo *null_foo = NULL;
|
||||||
|
|
||||||
|
bar B;
|
||||||
extern bar &B1;
|
extern bar &B1;
|
||||||
|
bar &B1 = B;
|
||||||
extern const bar *B2;
|
extern const bar *B2;
|
||||||
// test various configurations of const
|
// test various configurations of const
|
||||||
const bar &B3 = B1;
|
const bar &B3 = B1;
|
||||||
@ -145,9 +147,6 @@ TEST(CastingTest, dyn_cast_or_null) {
|
|||||||
//foo &F23 = cast_or_null<foo>(B1);
|
//foo &F23 = cast_or_null<foo>(B1);
|
||||||
//const foo &F24 = cast_or_null<foo>(B3);
|
//const foo &F24 = cast_or_null<foo>(B3);
|
||||||
|
|
||||||
|
|
||||||
bar B;
|
|
||||||
bar &B1 = B;
|
|
||||||
const bar *B2 = &B;
|
const bar *B2 = &B;
|
||||||
} // anonymous namespace
|
} // anonymous namespace
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user