aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-05-01 04:32:34 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-05-01 04:32:34 +0000
commite11c38d05c80ddd06042d20de79dd31fc9e8141e (patch)
treed8c420212566c5540c6dc3856df28c4d44a7d2d0
parent09e2c524a18435211cfbc2fb355f91e1ac43ea89 (diff)
Add a triple to this test, otherwise it fails under MSVC because wchar_t is unsigned with the i686-pc-win32 triple.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130636 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/type-traits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/type-traits.cpp b/test/SemaCXX/type-traits.cpp
index a4ed500a80..96e9696a04 100644
--- a/test/SemaCXX/type-traits.cpp
+++ b/test/SemaCXX/type-traits.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
#define T(b) (b) ? 1 : -1
#define F(b) (b) ? -1 : 1