aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/stdint.c
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-04-21 05:45:45 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-04-21 05:45:45 +0000
commit1cfeefdb383b106f63d91dd715f54339467d6aa8 (patch)
tree62803e0900302c520f4cc1e862c180e9df161e34 /test/Preprocessor/stdint.c
parent67a5773ba529aebcad03fa5e7cc95555d133e93d (diff)
PR9772: Fix the definition of WINT_MIN and WINT_MAX on Linux -ffreestanding.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129907 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/stdint.c')
-rw-r--r--test/Preprocessor/stdint.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Preprocessor/stdint.c b/test/Preprocessor/stdint.c
index b3ae843803..4821cf423f 100644
--- a/test/Preprocessor/stdint.c
+++ b/test/Preprocessor/stdint.c
@@ -1059,6 +1059,12 @@
// X86_64:UINTMAX_C_(0) 0UL
//
//
+// RUN: %clang_cc1 -E -ffreestanding -triple=x86_64-pc-linux-gnu %s | FileCheck -check-prefix X86_64_LINUX %s
+//
+// X86_64_LINUX:WINT_MIN_ 0
+// X86_64_LINUX:WINT_MAX_ 4294967295U
+//
+//
// stdint.h forms several macro definitions by pasting together identifiers
// to form names (eg. int32_t is formed from int ## 32 ## _t). The following
// case tests that these joining operations are performed correctly even if