about summary refs log tree commit diff
path: root/Test/B03print.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/B03print.ztst')
-rw-r--r--Test/B03print.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index 3968faec3..1aa6d2051 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -144,6 +144,11 @@
 >two	b:0x2%
 >three	c:0x3%
 
+ printf '%d%n' 123 val val val > /dev/null
+ printf '%d\n' val
+0:%n count zeroed on format reuse
+>1
+
 # this should fill spec string with '%0+- #*.*d\0' - 11 characters
  printf '%1$0+- #-08.5dx\n' 123
 0:maximal length format specification