diff options
author | tjr <tjr@FreeBSD.org> | 2003-04-06 08:02:20 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-04-06 08:02:20 +0000 |
commit | 3b10d8d86d377c10322614fead0e85f5a555f445 (patch) | |
tree | 8df85b99bd551efc489be837c5ecfae4d85dfdc4 /tools/regression/lib/libc | |
parent | 32adcc80535d9c84db82a0d9e9d792e284f8e436 (diff) | |
download | FreeBSD-src-3b10d8d86d377c10322614fead0e85f5a555f445.zip FreeBSD-src-3b10d8d86d377c10322614fead0e85f5a555f445.tar.gz |
Test for bug in revision 1.54 of vfprintf.c.
Diffstat (limited to 'tools/regression/lib/libc')
-rw-r--r-- | tools/regression/lib/libc/stdio/test-printfloat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/regression/lib/libc/stdio/test-printfloat.c b/tools/regression/lib/libc/stdio/test-printfloat.c index a33fac8..0a00afd 100644 --- a/tools/regression/lib/libc/stdio/test-printfloat.c +++ b/tools/regression/lib/libc/stdio/test-printfloat.c @@ -133,6 +133,9 @@ main(int argc, char *argv[]) testfmt("314159", "%g", 3.14159e5); testfmt("314159.", "%#g", 3.14159e5); + testfmt(" 0.0", "%4.1f", 0.0); + testfmt(" 100", "%4.0f", 100.0); + printf("PASS printfloat\n"); return (0); |