Add #ifndef NDEBUG markers around EXPECT_DEATH after r267270

http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/36076

llvm-svn: 267275
This commit is contained in:
Duncan P. N. Exon Smith 2016-04-23 04:34:11 +00:00
parent c814e0c1fd
commit 004eb55feb
1 changed files with 2 additions and 0 deletions

View File

@ -2341,6 +2341,7 @@ TEST_F(DistinctMDOperandPlaceholderTest, replaceUseWithNoUser) {
DistinctMDOperandPlaceholder(7).replaceUseWith(MDTuple::get(Context, None));
}
#ifndef NDEBUG
#ifdef GTEST_HAS_DEATH_TEST
TEST_F(DistinctMDOperandPlaceholderTest, MetadataAsValue) {
// This shouldn't crash.
@ -2383,5 +2384,6 @@ TEST_F(DistinctMDOperandPlaceholderTest, TrackingMDRefAndDistinctMDNode) {
}
}
#endif
#endif
} // end namespace