From: Richard Smith Date: Thu, 5 Apr 2012 00:54:51 +0000 (+0000) Subject: Add triples to these tests to keep them working on Windows, X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fd05dc4062580acea72f8b8231fb0ea3ee49032;p=clang 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 --- 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}}