diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-14 21:25:22 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-14 21:25:22 -0700 |
commit | efaf9eaf570554406187430c87c1eef56be6c559 (patch) | |
tree | 78f4fb3bb6d08deb29f98f9e35e443effb708a24 /tests/printf | |
parent | 6e2379b7c86236ed4c7059e6a8a979fa9d4df7d6 (diff) |
flush partially-printed lines during shutdown
Diffstat (limited to 'tests/printf')
-rw-r--r-- | tests/printf/output.txt | 2 | ||||
-rw-r--r-- | tests/printf/test.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/printf/output.txt b/tests/printf/output.txt index 01822327..19a6c1c2 100644 --- a/tests/printf/output.txt +++ b/tests/printf/output.txt @@ -8274,3 +8274,5 @@ ffffff8000000000 1 1 1 + +no_new_line diff --git a/tests/printf/test.c b/tests/printf/test.c index efd9d087..d05ba096 100644 --- a/tests/printf/test.c +++ b/tests/printf/test.c @@ -8279,5 +8279,7 @@ int main() { printf("%hhx\n", -0xFF); printf("%hx\n", -0xFFFF); printf("%x\n", -0xFFFFFFFF); + printf("\n"); + printf("no_new_line"); return 0; } |