r195813 - Add a triple to fix this test on Windows
Alp Toker
alp at nuanti.com
Tue Nov 26 20:59:04 PST 2013
Author: alp
Date: Tue Nov 26 22:59:03 2013
New Revision: 195813
URL: http://llvm.org/viewvc/llvm-project?rev=195813&view=rev
Log:
Add a triple to fix this test on Windows
The warning from cmake-clang-x64-msc16-R was:
test\SemaCXX\old-style-cast.cpp Line 6: cast to 'void **' from smaller integer type 'long'
Modified:
cfe/trunk/test/SemaCXX/old-style-cast.cpp
Modified: cfe/trunk/test/SemaCXX/old-style-cast.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/old-style-cast.cpp?rev=195813&r1=195812&r2=195813&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/old-style-cast.cpp (original)
+++ cfe/trunk/test/SemaCXX/old-style-cast.cpp Tue Nov 26 22:59:03 2013
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -Wold-style-cast %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -verify -Wold-style-cast %s
void test1() {
long x = (long)12; // expected-warning {{use of old-style cast}}
More information about the cfe-commits
mailing list