summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/DeclTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/AST/DeclTest.cpp')
-rw-r--r--clang/unittests/AST/DeclTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/DeclTest.cpp b/clang/unittests/AST/DeclTest.cpp
index f06f21a55dc..87aeef47c61 100644
--- a/clang/unittests/AST/DeclTest.cpp
+++ b/clang/unittests/AST/DeclTest.cpp
@@ -26,7 +26,7 @@ TEST(Decl, CleansUpAPValues) {
// This is a regression test for a memory leak in APValues for structs that
// allocate memory. This test only fails if run under valgrind with full leak
// checking enabled.
- std::vector<std::string> Args(1, "-std=gnu++11");
+ std::vector<std::string> Args(1, "-std=c++11");
Args.push_back("-fno-ms-extensions");
ASSERT_TRUE(runToolOnCodeWithArgs(
Factory->create(),
OpenPOWER on IntegriCloud