]> granicus.if.org Git - clang/commitdiff
Add triples to these tests to keep them working on Windows,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 Apr 2012 00:54:51 +0000 (00:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 Apr 2012 00:54:51 +0000 (00:54 +0000)
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

test/SemaCXX/constexpr-printing.cpp
test/SemaCXX/static-assert.cpp

index fc0cce25eb85013ff5c83bdee440a089b7f669b1..9170fa1ec24530c326caa930f4eb16720f816580 100644 (file)
@@ -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);
index 68ef0183e252948d7a559b54255d3fc58c53bd6e..364e4e4bef37f9c698a7f77cbfd6d609599cd3ed 100644 (file)
@@ -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}}