diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-05 00:54:51 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-05 00:54:51 +0000 |
commit | 3cbdeba61aa2c231cb285be03f81534fa699033c (patch) | |
tree | aefd2ad2168727633d1ea8bcbcce7033bf53472e /clang/test | |
parent | 174ca49180196d48b08e0c0773562de6756df1f8 (diff) | |
download | bcm5719-llvm-3cbdeba61aa2c231cb285be03f81534fa699033c.tar.gz bcm5719-llvm-3cbdeba61aa2c231cb285be03f81534fa699033c.zip |
Add triples to these tests to keep them working on Windows,
where wchar_t is only 16 bits wide.
llvm-svn: 154072
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/SemaCXX/constexpr-printing.cpp | 2 | ||||
-rw-r--r-- | clang/test/SemaCXX/static-assert.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/constexpr-printing.cpp b/clang/test/SemaCXX/constexpr-printing.cpp index fc0cce25eb8..9170fa1ec24 100644 --- a/clang/test/SemaCXX/constexpr-printing.cpp +++ b/clang/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/clang/test/SemaCXX/static-assert.cpp b/clang/test/SemaCXX/static-assert.cpp index 68ef0183e25..364e4e4bef3 100644 --- a/clang/test/SemaCXX/static-assert.cpp +++ b/clang/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}} |