]> granicus.if.org Git - clang/commitdiff
Add a triple to new test.
authorNico Weber <nicolasweber@gmx.de>
Wed, 30 Apr 2014 04:54:42 +0000 (04:54 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 30 Apr 2014 04:54:42 +0000 (04:54 +0000)
NULL is just 0 on Windows, so the Wsentinel part of the test doesn't pass there.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207607 91177308-0d34-0410-b5e6-96231b3b80d8

test/Headers/stddefneeds.cpp

index 304a224acc63fb8b0a849bd3d280e4a72f66ec02..0763bbdee13ae1cf0ae0f87f627b7875998186d1 100644 (file)
@@ -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}}