projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Guard against FreeBSD 6.1 bug.
[gnulib.git]
/
tests
/
test-fprintf-posix.h
diff --git
a/tests/test-fprintf-posix.h
b/tests/test-fprintf-posix.h
index
488f842
..
2d5eb93
100644
(file)
--- a/
tests/test-fprintf-posix.h
+++ b/
tests/test-fprintf-posix.h
@@
-61,6
+61,12
@@
test_function (int (*my_fprintf) (FILE *, const char *, ...))
/* NaN. */
my_fprintf (stdout, "%a %d\n", NaN (), 33, 44, 55);
/* NaN. */
my_fprintf (stdout, "%a %d\n", NaN (), 33, 44, 55);
+ /* FLAG_ZERO with infinite number. */
+ my_fprintf (stdout, "%010a %d\n", 1.0 / 0.0, 33, 44, 55);
+
+ /* FLAG_ZERO with NaN. */
+ my_fprintf (stdout, "%010a %d\n", NaN (), 33, 44, 55);
+
/* Test the support of the POSIX/XSI format strings with positions. */
my_fprintf (stdout, "%2$d %1$d\n", 33, 55);
/* Test the support of the POSIX/XSI format strings with positions. */
my_fprintf (stdout, "%2$d %1$d\n", 33, 55);