aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2011-07-08 13:16:26 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-08 13:16:26 -0400
commit04d08991c4612450880eb55a1d3070597429b7cb (patch)
tree6bceccc9f993a1748f0c95fd018f8499e50c6c71 /stdlib
parent4e5f31c847982997c856f03bbc35134e9fd0f61f (diff)
downloadglibc-04d08991c4612450880eb55a1d3070597429b7cb.tar
glibc-04d08991c4612450880eb55a1d3070597429b7cb.tar.gz
glibc-04d08991c4612450880eb55a1d3070597429b7cb.tar.bz2
glibc-04d08991c4612450880eb55a1d3070597429b7cb.zip
Add test case strtod underflow
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-strtod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c
index c30eb1ee12..1cb9a5cb0e 100644
--- a/stdlib/tst-strtod.c
+++ b/stdlib/tst-strtod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1996-2001,2003,2009 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1996-2001,2003,2009,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -72,6 +72,7 @@ static const struct ltest tests[] =
{ "+InFiNiTy", HUGE_VAL, '\0', 0 },
#endif
{ "0x80000Ap-23", 0x80000Ap-23, '\0', 0 },
+ { "1e-324", 0, '\0', ERANGE },
{ NULL, 0, '\0', 0 }
};