git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133081 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Argyrios Kyrtzidis 2011-06-15 20:39:05 +00:00
parent 3a3465b71d
commit 5cf34feb67

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