llvm.org GIT mirror llvm / 0502ac4
ADTTests: merge #ifdef checks from r240436. This commit merges the #ifdef and #ifndef checks into one #if, as suggested by Duncan P. N. Exon Smith. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240553 91177308-0d34-0410-b5e6-96231b3b80d8 Alex Lorenz 5 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
150150 EXPECT_EQ(APSInt("-1234").getExtValue(), -1234);
151151 }
152152
153 #ifdef GTEST_HAS_DEATH_TEST
154 #ifndef NDEBUG
153 #if defined(GTEST_HAS_DEATH_TEST) && !defined(NDEBUG)
155154
156155 TEST(APSIntTest, StringDeath) {
157156 EXPECT_DEATH(APSInt(""), "Invalid string length");
159158 }
160159
161160 #endif
162 #endif
163161
164162 } // end anonymous namespace