diff options
author | kripken <alonzakai@gmail.com> | 2011-07-29 18:03:37 -0700 |
---|---|---|
committer | kripken <alonzakai@gmail.com> | 2011-07-29 18:03:37 -0700 |
commit | d49f169b48c3a1aa8d50b2b6deaf30b7037b5672 (patch) | |
tree | 8b265c8eb2d051b7d6f5775e6f9afd37417420a4 /tests/printf/test.c | |
parent | dece1080e837ccddddac1187709cdd669329b1a1 (diff) | |
parent | 0e64105b7e8463ef65a2004d3b0d47a1aa61d98d (diff) |
Merge pull request #57 from max99x/master
Filesystem, unistd, and others
Diffstat (limited to 'tests/printf/test.c')
-rw-r--r-- | tests/printf/test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/printf/test.c b/tests/printf/test.c index d12e0d2e..efd9d087 100644 --- a/tests/printf/test.c +++ b/tests/printf/test.c @@ -14,6 +14,8 @@ int main() { printf("floats: %4.2f %+.0e %E\n", 3.1416, 3.1416, 3.1416); printf("Width trick: %*d\n", 5, 10); printf("%s %%\n", "A string"); + printf("Null string: %7s\n", NULL); + printf("Null pointer: %p\n", NULL); printf("%lf\n", INFINITY); printf("%lF\n", INFINITY); printf("%lf\n", -INFINITY); |