forked from OSchip/llvm-project
ASTTests/DeclTest.cpp: Tweak on msvc target to add "-fno-ms-extensions".
MS extensions don't prefer imaginary suffix even with -std=c++11. llvm-svn: 183301
This commit is contained in:
parent
d620e9da74
commit
05f4370074
|
@ -27,6 +27,7 @@ TEST(Decl, CleansUpAPValues) {
|
|||
// allocate memory. This test only fails if run under valgrind with full leak
|
||||
// checking enabled.
|
||||
std::vector<std::string> Args(1, "-std=c++11");
|
||||
Args.push_back("-fno-ms-extensions");
|
||||
ASSERT_TRUE(runToolOnCodeWithArgs(
|
||||
Factory->create(),
|
||||
"struct X { int a; }; constexpr X x = { 42 };"
|
||||
|
|
Loading…
Reference in New Issue