From: NAKAMURA Takumi Date: Wed, 5 Jun 2013 06:54:06 +0000 (+0000) Subject: ASTTests/DeclTest.cpp: Tweak on msvc target to add "-fno-ms-extensions". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b9b292074b56e8cf2e72c2ef70ec59e5356a02a;p=clang ASTTests/DeclTest.cpp: Tweak on msvc target to add "-fno-ms-extensions". MS extensions don't prefer imaginary suffix even with -std=c++11. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183301 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/AST/DeclTest.cpp b/unittests/AST/DeclTest.cpp index d377ffda62..c845da2ca6 100644 --- a/unittests/AST/DeclTest.cpp +++ b/unittests/AST/DeclTest.cpp @@ -27,6 +27,7 @@ TEST(Decl, CleansUpAPValues) { // allocate memory. This test only fails if run under valgrind with full leak // checking enabled. std::vector Args(1, "-std=c++11"); + Args.push_back("-fno-ms-extensions"); ASSERT_TRUE(runToolOnCodeWithArgs( Factory->create(), "struct X { int a; }; constexpr X x = { 42 };"