diff --git a/tools/regression/lib/libc/stdio/test-printfloat.c b/tools/regression/lib/libc/stdio/test-printfloat.c index a33fac81a30d..0a00afd6095b 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);