forked from OSchip/llvm-project
llvm-svn: 133081
This commit is contained in:
parent
4b7a8d68ae
commit
5d525568e0
|
@ -74,6 +74,8 @@ TEST(PackedVectorTest, Operation) {
|
|||
EXPECT_EQ(3U, Vec[1]);
|
||||
}
|
||||
|
||||
#ifdef EXPECT_DEBUG_DEATH
|
||||
|
||||
TEST(PackedVectorTest, UnsignedValues) {
|
||||
PackedVector<unsigned, 2> Vec(1);
|
||||
Vec[0] = 0;
|
||||
|
@ -106,6 +108,8 @@ TEST(PackedVectorTest, SignedValues) {
|
|||
EXPECT_DEBUG_DEATH(Vec[0] = 4, "value is too big");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue