about summary refs log tree commit diff
path: root/stdlib/tst-strtoll.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-22 05:57:04 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-22 05:57:04 +0000
commitb28ea43a7da3658b71200a1ab2ce5100cc553685 (patch)
treec0e63b498cfac4dd7d19dbb0014046f928a11bb2 /stdlib/tst-strtoll.c
parentbf025fc19f46f0dee5389354de7f142f2fcd75fa (diff)
downloadglibc-b28ea43a7da3658b71200a1ab2ce5100cc553685.tar.gz
glibc-b28ea43a7da3658b71200a1ab2ce5100cc553685.tar.xz
glibc-b28ea43a7da3658b71200a1ab2ce5100cc553685.zip
* stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
libc/1864). 
* stdlib/tst-strtoll.c: Likewise.
Diffstat (limited to 'stdlib/tst-strtoll.c')
-rw-r--r--stdlib/tst-strtoll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/tst-strtoll.c b/stdlib/tst-strtoll.c
index c60f011c67..1cc72823b6 100644
--- a/stdlib/tst-strtoll.c
+++ b/stdlib/tst-strtoll.c
@@ -68,6 +68,7 @@ static const struct ltest tests[] =
   {"-9223372036854775808", -9223372036854775807ll - 1, 0, 0, 0},
   {"-9223372036854775809", -9223372036854775807ll - 1, 0, 0, ERANGE},
   {"0x112233445566778899z", 9223372036854775807ll, 16, 'z', ERANGE},
+  {"0xFFFFFFFFFFFF00FF" , 9223372036854775807ll, 0, 0, ERANGE},
   {NULL, 0, 0, 0, 0},
 
   /* Then unsigned.  */