From 3cbdeba61aa2c231cb285be03f81534fa699033c Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 5 Apr 2012 00:54:51 +0000 Subject: [PATCH] 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(-) diff --git a/clang/test/SemaCXX/constexpr-printing.cpp b/clang/test/SemaCXX/constexpr-printing.cpp index fc0cce25eb85..9170fa1ec245 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 68ef0183e252..364e4e4bef37 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}}