summaryrefslogtreecommitdiff
path: root/stdlib/tst-strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtod.c')
-rw-r--r--stdlib/tst-strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c
index 4f0ea34367..ac4394886e 100644
--- a/stdlib/tst-strtod.c
+++ b/stdlib/tst-strtod.c
@@ -39,6 +39,8 @@ static const struct ltest tests[] =
{ "0e-19", 0, '\0', 0 },
{ "4\00012", 4.0, '\0', 0 },
{ "5.9e-76", 5.9e-76, '\0', 0 },
+ { "0x1.4p+3", 10.0, '\0', 0 },
+ { "0x0A", 10.0, '\0', 0 },
{ NULL, 0, '\0', 0 }
};