From 3cbdeba61aa2c231cb285be03f81534fa699033c Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 5 Apr 2012 00:54:51 +0000 Subject: Add triples to these tests to keep them working on Windows, where wchar_t is only 16 bits wide. llvm-svn: 154072 --- clang/test/SemaCXX/constexpr-printing.cpp | 2 +- clang/test/SemaCXX/static-assert.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'clang') 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}} -- cgit v1.2.3