diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-20 18:08:57 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-20 18:11:58 -0800 |
commit | eca0f2375f67575720f9476bb057379c8de34eae (patch) | |
tree | d620b04f394beeaad753b6dacf64ace7e476dccb /tests/printf/test.c | |
parent | af22db83d85e820642495a898cf4e176168ff20b (diff) |
tolerate negative values of precision in printf, fallback to default precision
Diffstat (limited to 'tests/printf/test.c')
-rw-r--r-- | tests/printf/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/printf/test.c b/tests/printf/test.c index adeb69db..c83d92b0 100644 --- a/tests/printf/test.c +++ b/tests/printf/test.c @@ -8286,6 +8286,7 @@ int main() { printf("%x\n", -0xFFFFFFFF); printf("\n"); printf("%*.*E\n", 10, -1, 12345.6789123); + printf("%*.*E\n", 10, -313, 12345.6789123); printf("no_new_line"); return 0; } |