summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_feature_cxx0x.cpp
diff options
context:
space:
mode:
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2015-08-01 02:55:59 +0000
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2015-08-01 02:55:59 +0000
commit7704ba7f97b35bb465384248a204e549f3c18263 (patch)
treecb99c78f1d172bbf8f3ef3718498cac05a1f344d /clang/test/Lexer/has_feature_cxx0x.cpp
parent86a5fba71d5b5503591f28a6817f8808c756bdc4 (diff)
downloadbcm5719-llvm-7704ba7f97b35bb465384248a204e549f3c18263.tar.gz
bcm5719-llvm-7704ba7f97b35bb465384248a204e549f3c18263.zip
[Tests] Add explicit -std=lang option to a number of tests.
This patch should not change the test results, but it is useful if clang's default C++ language is ever changed from gnu++98. Patch by: Charles Li http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150727/134667.html llvm-svn: 243819
Diffstat (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r--clang/test/Lexer/has_feature_cxx0x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp
index dbb650e1b22..8c7ff18860a 100644
--- a/clang/test/Lexer/has_feature_cxx0x.cpp
+++ b/clang/test/Lexer/has_feature_cxx0x.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -E -triple x86_64-linux-gnu -std=c++11 %s -o - | FileCheck --check-prefix=CHECK-11 %s
// RUN: %clang_cc1 -E -triple armv7-apple-darwin -std=c++11 %s -o - | FileCheck --check-prefix=CHECK-NO-TLS %s
-// RUN: %clang_cc1 -E -triple x86_64-linux-gnu %s -o - | FileCheck --check-prefix=CHECK-NO-11 %s
+// RUN: %clang_cc1 -E -triple x86_64-linux-gnu -std=c++98 %s -o - | FileCheck --check-prefix=CHECK-NO-11 %s
// RUN: %clang_cc1 -E -triple x86_64-linux-gnu -std=c++14 %s -o - | FileCheck --check-prefix=CHECK-14 %s
// RUN: %clang_cc1 -E -triple x86_64-linux-gnu -std=c++1z %s -o - | FileCheck --check-prefix=CHECK-1Z %s
OpenPOWER on IntegriCloud