Make this test not rely on the system <limits.h>. Hopefully fixes the

MSVC build.

llvm-svn: 95932
This commit is contained in:
John McCall 2010-02-11 22:45:16 +00:00
parent 9c8a6f5a8e
commit 81472e34b2
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,3 @@
/* Fake system header for Sema/conversion.c */
#define LONG_MAX __LONG_MAX__

View File

@ -1,6 +1,6 @@
// RUN: %clang_cc1 -fsyntax-only -verify -Wconversion -triple x86_64-apple-darwin %s -Wno-unreachable-code
// RUN: %clang_cc1 -fsyntax-only -verify -Wconversion -nostdinc -isystem %S/Inputs -triple x86_64-apple-darwin %s -Wno-unreachable-code
#include <limits.h>
#include <conversion.h>
#define BIG 0x7f7f7f7f7f7f7f7fL