r207607 - Add a triple to new test.

Nico Weber nicolasweber at gmx.de
Tue Apr 29 21:54:42 PDT 2014


Author: nico
Date: Tue Apr 29 23:54:42 2014
New Revision: 207607

URL: http://llvm.org/viewvc/llvm-project?rev=207607&view=rev
Log:
Add a triple to new test.

NULL is just 0 on Windows, so the Wsentinel part of the test doesn't pass there.

Modified:
    cfe/trunk/test/Headers/stddefneeds.cpp

Modified: cfe/trunk/test/Headers/stddefneeds.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/stddefneeds.cpp?rev=207607&r1=207606&r2=207607&view=diff
==============================================================================
--- cfe/trunk/test/Headers/stddefneeds.cpp (original)
+++ cfe/trunk/test/Headers/stddefneeds.cpp Tue Apr 29 23:54:42 2014
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -Wsentinel -std=c++11 %s
+// RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-macosx10.9.0 -verify -Wsentinel -std=c++11 %s
 
 ptrdiff_t p0; // expected-error{{unknown}}
 size_t s0; // expected-error{{unknown}}





More information about the cfe-commits mailing list