mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-26 16:05:54 +00:00
ADT/PointerIntPairTest.cpp: Prune obsolete #if. We don't support msc17 anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a50a12b43
commit
07419021e5
@ -42,7 +42,6 @@ TEST_F(PointerIntPairTest, DefaultInitialize) {
|
|||||||
EXPECT_EQ(0U, Pair.getInt());
|
EXPECT_EQ(0U, Pair.getInt());
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !(defined(_MSC_VER) && _MSC_VER==1700)
|
|
||||||
TEST_F(PointerIntPairTest, ManyUnusedBits) {
|
TEST_F(PointerIntPairTest, ManyUnusedBits) {
|
||||||
// In real code this would be a word-sized integer limited to 31 bits.
|
// In real code this would be a word-sized integer limited to 31 bits.
|
||||||
struct Fixnum31 {
|
struct Fixnum31 {
|
||||||
@ -71,6 +70,5 @@ TEST_F(PointerIntPairTest, ManyUnusedBits) {
|
|||||||
EXPECT_EQ(FixnumPointerTraits::NumLowBitsAvailable - 1,
|
EXPECT_EQ(FixnumPointerTraits::NumLowBitsAvailable - 1,
|
||||||
PointerLikeTypeTraits<decltype(pair)>::NumLowBitsAvailable);
|
PointerLikeTypeTraits<decltype(pair)>::NumLowBitsAvailable);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user