llvm-svn: 133081
This commit is contained in:
Argyrios Kyrtzidis
2011-06-15 20:39:05 +00:00
parent 4b7a8d68ae
commit 5d525568e0

View File

@@ -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