forked from OSchip/llvm-project
DynamicASTMatchers/VariantValueTest.cpp: It works with msvcrt since setmode(stderr, O_BINARY) were removed.
llvm-svn: 199059
This commit is contained in:
parent
9668890568
commit
9b435fec0d
|
@ -117,7 +117,7 @@ TEST(VariantValueTest, Matcher) {
|
|||
EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl()))
|
||||
.getMatcher()
|
||||
.hasTypedMatcher<Stmt>());
|
||||
#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST && !defined(_MSC_VER)
|
||||
#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST
|
||||
// Trying to get the wrong matcher fails an assertion in Matcher<T>. We don't
|
||||
// do this test when building with MSVC because its debug C runtime prints the
|
||||
// assertion failure message as a wide string, which gtest doesn't understand.
|
||||
|
|
Loading…
Reference in New Issue