diff options
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
-rw-r--r-- | llvm/unittests/IR/MetadataTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp index 424b7bec8b9..71c5dd4d27d 100644 --- a/llvm/unittests/IR/MetadataTest.cpp +++ b/llvm/unittests/IR/MetadataTest.cpp @@ -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 |