diff options
Diffstat (limited to 'tools/regression/lib/libc/stdio/test-printfloat.c')
-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); |