OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b4e622
)
unittests/Support/Casting.cpp: [PR8226] Workaround for MSVC|Debug.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 22 Jan 2012 12:14:35 +0000
(12:14 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 22 Jan 2012 12:14:35 +0000
(12:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148659
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/Casting.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/Casting.cpp
b/unittests/Support/Casting.cpp
index
ae84693
..
ca0b40b
100644
(file)
--- a/
unittests/Support/Casting.cpp
+++ b/
unittests/Support/Casting.cpp
@@
-69,7
+69,9
@@
namespace {
const foo *null_foo = NULL;
+bar B;
extern bar &B1;
+bar &B1 = B;
extern const bar *B2;
// test various configurations of const
const bar &B3 = B1;
@@
-145,9
+147,6
@@
TEST(CastingTest, dyn_cast_or_null) {
//foo &F23 = cast_or_null<foo>(B1);
//const foo &F24 = cast_or_null<foo>(B3);
-
-bar B;
-bar &B1 = B;
const bar *B2 = &B;
} // anonymous namespace