llvm.org GIT mirror llvm / 2a53577
unittests/Support/Casting.cpp: [PR8226] Workaround for MSVC|Debug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148659 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
6868
6969 const foo *null_foo = NULL;
7070
71 bar B;
7172 extern bar &B1;
73 bar &B1 = B;
7274 extern const bar *B2;
7375 // test various configurations of const
7476 const bar &B3 = B1;
144146 //foo &F23 = cast_or_null(B1);
145147 //const foo &F24 = cast_or_null(B3);
146148
147
148 bar B;
149 bar &B1 = B;
150149 const bar *B2 = &B;
151150 } // anonymous namespace
152151