DynamicASTMatchers/VariantValueTest.cpp: It works with msvcrt since setmode(stderr, O_BINARY) were removed.

llvm-svn: 199059
This commit is contained in:
NAKAMURA Takumi 2014-01-12 17:49:26 +00:00
parent 9668890568
commit 9b435fec0d
1 changed files with 1 additions and 1 deletions

View File

@ -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.