aboutsummaryrefslogtreecommitdiff
path: root/tests/printf/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/printf/test.c')
-rw-r--r--tests/printf/test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/printf/test.c b/tests/printf/test.c
index ac662dca..e388ee9c 100644
--- a/tests/printf/test.c
+++ b/tests/printf/test.c
@@ -2,6 +2,9 @@
#include <math.h>
int main() {
+ int x;
+ printf("ab%gc%nd\n", 1.23f, &x);
+ printf("n=%d\n", x);
printf("\n");
printf("Characters: %c %c\n", 'a', 65);
printf("Decimals: %d %ld %lld %d\n", 1977, 650000L, 12LL, 4);