[cfe-commits] r154072 - in /cfe/trunk/test/SemaCXX: constexpr-printing.cpp static-assert.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Wed Apr 4 17:54:51 PDT 2012
Author: rsmith
Date: Wed Apr 4 19:54:51 2012
New Revision: 154072
URL: http://llvm.org/viewvc/llvm-project?rev=154072&view=rev
Log:
Add triples to these tests to keep them working on Windows,
where wchar_t is only 16 bits wide.
Modified:
cfe/trunk/test/SemaCXX/constexpr-printing.cpp
cfe/trunk/test/SemaCXX/static-assert.cpp
Modified: cfe/trunk/test/SemaCXX/constexpr-printing.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/constexpr-printing.cpp?rev=154072&r1=154071&r2=154072&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/constexpr-printing.cpp (original)
+++ cfe/trunk/test/SemaCXX/constexpr-printing.cpp Wed Apr 4 19:54:51 2012
@@ -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);
Modified: cfe/trunk/test/SemaCXX/static-assert.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/static-assert.cpp?rev=154072&r1=154071&r2=154072&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/static-assert.cpp (original)
+++ cfe/trunk/test/SemaCXX/static-assert.cpp Wed Apr 4 19:54:51 2012
@@ -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}}
More information about the cfe-commits
mailing list