From 3b10d8d86d377c10322614fead0e85f5a555f445 Mon Sep 17 00:00:00 2001 From: tjr Date: Sun, 6 Apr 2003 08:02:20 +0000 Subject: Test for bug in revision 1.54 of vfprintf.c. --- tools/regression/lib/libc/stdio/test-printfloat.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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); -- cgit v1.1