summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/stdint.c
diff options
context:
space:
mode:
authorKen Dyck <ken.dyck@onsemi.com>2009-11-19 14:35:19 +0000
committerKen Dyck <ken.dyck@onsemi.com>2009-11-19 14:35:19 +0000
commitf0b343f5b7eae19ed25ad3b676a24c66edb4d7a6 (patch)
tree38fe40bb612a02fbdbca78bf5277e729e434d4a5 /clang/test/Preprocessor/stdint.c
parenta1f677c3d16346cbd75bc0055e5e86ddebb269c7 (diff)
downloadbcm5719-llvm-f0b343f5b7eae19ed25ad3b676a24c66edb4d7a6.tar.gz
bcm5719-llvm-f0b343f5b7eae19ed25ad3b676a24c66edb4d7a6.zip
Parameterize WINT_MIN and WINT_MAX with __WINT_WIDTH__ to support arbitrary
widths. This corrects the values of these definitions for MSP430 and PIC16. llvm-svn: 89350
Diffstat (limited to 'clang/test/Preprocessor/stdint.c')
-rw-r--r--clang/test/Preprocessor/stdint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Preprocessor/stdint.c b/clang/test/Preprocessor/stdint.c
index 9c98e291664..ed8e9a06249 100644
--- a/clang/test/Preprocessor/stdint.c
+++ b/clang/test/Preprocessor/stdint.c
@@ -403,8 +403,8 @@
//
// MSP430:SIG_ATOMIC_MIN_ (-2147483647L -1)
// MSP430:SIG_ATOMIC_MAX_ 2147483647L
-// MSP430:WINT_MIN_ (-2147483647L -1)
-// MSP430:WINT_MAX_ 2147483647L
+// MSP430:WINT_MIN_ (-32767 -1)
+// MSP430:WINT_MAX_ 32767
//
// MSP430:WCHAR_MAX_ 32767
// MSP430:WCHAR_MIN_ (-32767 -1)
@@ -503,8 +503,8 @@
//
// PIC16:SIG_ATOMIC_MIN_ (-2147483647L -1)
// PIC16:SIG_ATOMIC_MAX_ 2147483647L
-// PIC16:WINT_MIN_ (-2147483647L -1)
-// PIC16:WINT_MAX_ 2147483647L
+// PIC16:WINT_MIN_ (-32767 -1)
+// PIC16:WINT_MAX_ 32767
//
// PIC16:WCHAR_MAX_ 32767
// PIC16:WCHAR_MIN_ (-32767 -1)
OpenPOWER on IntegriCloud