summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-05 00:54:51 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-05 00:54:51 +0000
commit4fd05dc4062580acea72f8b8231fb0ea3ee49032 (patch)
tree922602fa68c952489de22e90cba78687989adbd0 /test/SemaCXX
parentf76e7f740abc3e90e5b225b63882c97344f9aa42 (diff)
Add triples to these tests to keep them working on Windows,
where wchar_t is only 16 bits wide. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX')
-rw-r--r--test/SemaCXX/constexpr-printing.cpp2
-rw-r--r--test/SemaCXX/static-assert.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/constexpr-printing.cpp b/test/SemaCXX/constexpr-printing.cpp
index fc0cce25eb..9170fa1ec2 100644
--- a/test/SemaCXX/constexpr-printing.cpp
+++ b/test/SemaCXX/constexpr-printing.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -std=c++11 -fsyntax-only -verify
+// RUN: %clang_cc1 %s -std=c++11 -fsyntax-only -verify -triple x86_64-linux-gnu
struct S;
constexpr int extract(const S &s);
diff --git a/test/SemaCXX/static-assert.cpp b/test/SemaCXX/static-assert.cpp
index 68ef0183e2..364e4e4bef 100644
--- a/test/SemaCXX/static-assert.cpp
+++ b/test/SemaCXX/static-assert.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 -triple=x86_64-linux-gnu
int f(); // expected-note {{declared here}}