diff options
author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2015-08-01 02:55:59 +0000 |
---|---|---|
committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2015-08-01 02:55:59 +0000 |
commit | 7704ba7f97b35bb465384248a204e549f3c18263 (patch) | |
tree | cb99c78f1d172bbf8f3ef3718498cac05a1f344d /clang/test/Lexer/ms-extensions.cpp | |
parent | 86a5fba71d5b5503591f28a6817f8808c756bdc4 (diff) | |
download | bcm5719-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/ms-extensions.cpp')
-rw-r--r-- | clang/test/Lexer/ms-extensions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/ms-extensions.cpp b/clang/test/Lexer/ms-extensions.cpp index 7e18a6cb2bc..9a858a4ff32 100644 --- a/clang/test/Lexer/ms-extensions.cpp +++ b/clang/test/Lexer/ms-extensions.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -Wreserved-user-defined-literal -fms-extensions -fms-compatibility %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wreserved-user-defined-literal -fms-extensions -fms-compatibility -std=c++98 %s #define bar(x) #x const char * f() { |