aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-stdint-1.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-08 22:02:17 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2009-04-08 22:02:17 +0100
commitd34ac4dd68764ca5f56fddce1ac884b74ec5836e (patch)
treeea814d89500608cc54501ffddf7653d68dfefedb /gcc/testsuite/gcc.dg/c99-stdint-1.c
parentbc02c2b1b826199e7a682a7e27914dbb20fe035a (diff)
downloadgcc-d34ac4dd68764ca5f56fddce1ac884b74ec5836e.zip
gcc-d34ac4dd68764ca5f56fddce1ac884b74ec5836e.tar.gz
gcc-d34ac4dd68764ca5f56fddce1ac884b74ec5836e.tar.bz2
c99-stdint-1.c: Fix cut-and-paste mistakes in test.
* gcc.dg/c99-stdint-1.c: Fix cut-and-paste mistakes in test. * gcc.dg/c99-stdint-7.c, gcc.dg/c99-stdint-8.c: New tests. From-SVN: r145778
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-stdint-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/c99-stdint-1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-stdint-1.c b/gcc/testsuite/gcc.dg/c99-stdint-1.c
index 5dcac41..109aed4 100644
--- a/gcc/testsuite/gcc.dg/c99-stdint-1.c
+++ b/gcc/testsuite/gcc.dg/c99-stdint-1.c
@@ -89,19 +89,19 @@ test_exact (void)
CHECK_WIDTH_EQUALS(int16_t, 16);
CHECK_SIGNED_LIMITS(int16_t, INT16_MIN, INT16_MAX);
#else
- CHECK_WIDTH_AT_LEAST(int_least8_t, 17);
+ CHECK_WIDTH_AT_LEAST(int_least16_t, 17);
#endif
#ifdef INT32_MIN
CHECK_WIDTH_EQUALS(int32_t, 32);
CHECK_SIGNED_LIMITS(int32_t, INT32_MIN, INT32_MAX);
#else
- CHECK_WIDTH_AT_LEAST(int_least8_t, 33);
+ CHECK_WIDTH_AT_LEAST(int_least32_t, 33);
#endif
#ifdef INT64_MIN
CHECK_WIDTH_EQUALS(int64_t, 64);
CHECK_SIGNED_LIMITS(int64_t, INT64_MIN, INT64_MAX);
#else
- CHECK_WIDTH_AT_LEAST(int_least8_t, 65);
+ CHECK_WIDTH_AT_LEAST(int_least64_t, 65);
#endif
#ifdef UINT8_MAX
CHECK_WIDTH_EQUALS(uint8_t, 8);
@@ -113,19 +113,19 @@ test_exact (void)
CHECK_WIDTH_EQUALS(uint16_t, 16);
CHECK_UNSIGNED_LIMITS(uint16_t, UINT16_MAX);
#else
- CHECK_WIDTH_AT_LEAST(uint_least8_t, 17);
+ CHECK_WIDTH_AT_LEAST(uint_least16_t, 17);
#endif
#ifdef UINT32_MAX
CHECK_WIDTH_EQUALS(uint32_t, 32);
CHECK_UNSIGNED_LIMITS(uint32_t, UINT32_MAX);
#else
- CHECK_WIDTH_AT_LEAST(uint_least8_t, 33);
+ CHECK_WIDTH_AT_LEAST(uint_least32_t, 33);
#endif
#ifdef UINT64_MAX
CHECK_WIDTH_EQUALS(uint64_t, 64);
CHECK_UNSIGNED_LIMITS(uint64_t, UINT64_MAX);
#else
- CHECK_WIDTH_AT_LEAST(uint_least8_t, 65);
+ CHECK_WIDTH_AT_LEAST(uint_least64_t, 65);
#endif
}