aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-06 12:37:52 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-06 12:37:52 +0000
commit72283806e717442536eef55941fd573d4b552393 (patch)
tree69655db11961601c84d080892afa5ca653678632 /test/Preprocessor/init.c
parent7c15353ccaed24f2df932571166bf305c1b98b6d (diff)
Define _INTEGRAL_MAX_BITS for the win32 and win64 targets, from Per Lindén!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/init.c')
-rw-r--r--test/Preprocessor/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c
index 4ebaddfa3f..6c27a6c431 100644
--- a/test/Preprocessor/init.c
+++ b/test/Preprocessor/init.c
@@ -74,9 +74,10 @@
// C94:#define __STDC_VERSION__ 199409L
//
//
-// RUN: %clang_cc1 -fms-extensions -E -dM < /dev/null | FileCheck -check-prefix MSEXT %s
+// RUN: %clang_cc1 -fms-extensions -triple i686-pc-win32 -E -dM < /dev/null | FileCheck -check-prefix MSEXT %s
//
// MSEXT-NOT:#define __STDC__
+// MSEXT:#define _INTEGRAL_MAX_BITS 64
// MSEXT:#define __int16 __INT16_TYPE__
// MSEXT:#define __int32 __INT32_TYPE__
// MSEXT:#define __int64 __INT64_TYPE__