about summary refs log tree commit diff
path: root/REORG.TODO/libio/tst_wprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/libio/tst_wprintf.c')
-rw-r--r--REORG.TODO/libio/tst_wprintf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/REORG.TODO/libio/tst_wprintf.c b/REORG.TODO/libio/tst_wprintf.c
new file mode 100644
index 0000000000..bf859f10fc
--- /dev/null
+++ b/REORG.TODO/libio/tst_wprintf.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <wchar.h>
+
+int
+main (int argc, char *argv[])
+{
+  fputws (L"Hello world!\n", stdout);
+  wprintf (L"This %s a %ls string: %d\n", "is", L"mixed", 42);
+  wprintf (L"%Iu\n", 0xfeedbeef);
+  return 0;
+}