summaryrefslogtreecommitdiff
path: root/test/Frontend
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-05-30 07:03:16 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-05-30 07:03:16 +0000
commite4a08bc1d0285c6248e5c7905610b850206b0f9a (patch)
tree2348d8b80e8d1124dbd37b8ad51b499938eeadc4 /test/Frontend
parentfe760838cbeb4014a9ac6e4bff7c3955644d805c (diff)
downloadclang-e4a08bc1d0285c6248e5c7905610b850206b0f9a.tar.gz
clang/test/Frontend/Weverything-and-remarks.cpp: Add explicit -target.
You could see unexpected result (*.tmp.err) with "-target x86_64-win32". Weverything-and-remarks.cpp:11:9: warning: 'char32_t' type specifier is incompatible with C++98 [-Wc++98-compat] typedef __char32_t char32_t; ^ Weverything-and-remarks.cpp:12:27: error: typedef redefinition with different types ('unsigned long' vs 'unsigned long long') typedef long unsigned int size_t; ^ Weverything-and-remarks.cpp:19:62: warning: dynamic exception specifications are deprecated [-Wdeprecated] static void assign(char_type& __c1, const char_type& __c2) throw() { ^~~~~~~ Weverything-and-remarks.cpp:19:62: note: use 'noexcept' instead static void assign(char_type& __c1, const char_type& __c2) throw() { ^~~~~~~ noexcept Weverything-and-remarks.cpp:25:46: warning: unused parameter '__n' [-Wunused-parameter] size_t __n) { ^ 3 warnings and 1 error generated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend')
-rw-r--r--test/Frontend/Weverything-and-remarks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Frontend/Weverything-and-remarks.cpp b/test/Frontend/Weverything-and-remarks.cpp
index 0c35b3111d..fcdc2c8299 100644
--- a/test/Frontend/Weverything-and-remarks.cpp
+++ b/test/Frontend/Weverything-and-remarks.cpp
@@ -4,7 +4,7 @@
// flags to filter them. The handler in BackendConsumer::DiagnosticHandlerImpl
// should not emitting diagnostics for unhandled kinds.
-// RUN: %clang -c -S -Weverything -O0 -o /dev/null %s 2> %t.err
+// RUN: %clang -target x86_64-unknown-unknown -c -S -Weverything -O0 -o /dev/null %s 2> %t.err
// RUN: FileCheck < %t.err %s
typedef __char32_t char32_t;