Add support for partial redefs to the fast register allocator.
[oota-llvm.git] / unittests / ADT / APIntTest.cpp
index 0b13aa402ea18705ea9487c716fae3336202e193..d08e86abaa752ae8ce092b4be45ea6297db27fe4 100644 (file)
@@ -328,6 +328,7 @@ TEST(APIntTest, Log2) {
 }
 
 #ifdef GTEST_HAS_DEATH_TEST
+#ifndef NDEBUG
 TEST(APIntTest, StringDeath) {
   EXPECT_DEATH(APInt(0, "", 0), "Bitwidth too small");
   EXPECT_DEATH(APInt(32, "", 0), "Invalid string length");
@@ -340,5 +341,6 @@ TEST(APIntTest, StringDeath) {
   EXPECT_DEATH(APInt(32, "1L", 10), "Invalid character in digit string");
 }
 #endif
+#endif
 
 }