diff options
Diffstat (limited to 'clang/unittests/AST/DeclTest.cpp')
-rw-r--r-- | clang/unittests/AST/DeclTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/AST/DeclTest.cpp b/clang/unittests/AST/DeclTest.cpp index d377ffda623..c845da2ca60 100644 --- a/clang/unittests/AST/DeclTest.cpp +++ b/clang/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<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 };" |