From d4201d8c8d268ccefb959db80b7a43e987dd5890 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 30 Apr 2014 04:54:42 +0000 Subject: [PATCH] Add a triple to new test. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Headers/stddefneeds.cpp b/test/Headers/stddefneeds.cpp index 304a224acc..0763bbdee1 100644 --- a/test/Headers/stddefneeds.cpp +++ b/test/Headers/stddefneeds.cpp @@ -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}} -- 2.40.0