summaryrefslogtreecommitdiff
path: root/unittests/AST
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-06-05 06:54:06 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-06-05 06:54:06 +0000
commit4b9b292074b56e8cf2e72c2ef70ec59e5356a02a (patch)
tree70a01368c20bd175dc913292ee1811822262a9c3 /unittests/AST
parent391faea6c1b99499acae9e4c500c458d10c8be4a (diff)
downloadclang-4b9b292074b56e8cf2e72c2ef70ec59e5356a02a.tar.gz
clang-4b9b292074b56e8cf2e72c2ef70ec59e5356a02a.tar.bz2
clang-4b9b292074b56e8cf2e72c2ef70ec59e5356a02a.tar.xz
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
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 };"