summaryrefslogtreecommitdiff
path: root/unittests/AST
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/AST')
-rw-r--r--unittests/AST/DeclTest.cpp1
1 files changed, 1 insertions, 0 deletions
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<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 };"