aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-21 23:19:57 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-21 23:22:43 -0700
commita4059d3e60d33c3bda2674af03ff5787db3a4264 (patch)
treef430136f4024952230d3f73c848217b68f23cb88 /tests
parentfe9cf673a23007d97d2cd6e2c96426d776c62aa6 (diff)
Support wide characters in printf %c
Diffstat (limited to 'tests')
-rw-r--r--tests/printf.in1
-rw-r--r--tests/printf.out1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/printf.in b/tests/printf.in
index 1e42b982..402dafb7 100644
--- a/tests/printf.in
+++ b/tests/printf.in
@@ -4,6 +4,7 @@ printf "%x %X %o %llu\n" 10 11 8 -1
printf "%a %A\n" 14 15
printf "%c %s\n" a hello
+printf "%c%c%c\n" hello … o
printf "%e %E\n" 5 6
printf "%20d\n" 50
diff --git a/tests/printf.out b/tests/printf.out
index 20a7109b..8ec41404 100644
--- a/tests/printf.out
+++ b/tests/printf.out
@@ -2,6 +2,7 @@ Hello 1 2 3.000000 4.000000 5 6
a B 10 18446744073709551615
0xep+0 0XFP+0
a hello
+h…o
5.000000e+00 6.000000E+00
50
5 10