summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-11-08 05:16:50 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-11-08 05:16:50 +0000
commit421753fea7ebd4b35c215139184868d15bf04d34 (patch)
treeb6309f582ba743d01bacf6eb2adde978e177c95b
parent02706c3216c2bbe35db5b627d165b1357b10c934 (diff)
downloadbcm5719-llvm-421753fea7ebd4b35c215139184868d15bf04d34.tar.gz
bcm5719-llvm-421753fea7ebd4b35c215139184868d15bf04d34.zip
clang/test/CXX/drs/dr1xx.cpp: Add explicit triple x86_64-unknown-unknown to satisfy check7a and check8a since r194240.
For i686 targets and LLP64 targets, we can see; error: 'error' diagnostics seen but not expected: File clang/test/CXX/drs/dr1xx.cpp Line 761: 'check7a' declared as an array with a negative size File clang/test/CXX/drs/dr1xx.cpp Line 765: 'check8a' declared as an array with a negative size 2 errors generated. llvm-svn: 194246
-rw-r--r--clang/test/CXX/drs/dr1xx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CXX/drs/dr1xx.cpp b/clang/test/CXX/drs/dr1xx.cpp
index 7ad39084a7d..7045148034f 100644
--- a/clang/test/CXX/drs/dr1xx.cpp
+++ b/clang/test/CXX/drs/dr1xx.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
-// RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
-// RUN: %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: %clang_cc1 -std=c++98 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: %clang_cc1 -std=c++1y -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
namespace dr100 { // dr100: yes
template<const char *> struct A {}; // expected-note {{declared here}}
OpenPOWER on IntegriCloud