Tests for wprintf.
authordrepper <drepper>
Wed, 16 Jun 1999 22:07:45 +0000 (22:07 +0000)
committerdrepper <drepper>
Wed, 16 Jun 1999 22:07:45 +0000 (22:07 +0000)
libio/tst_wprintf.c [new file with mode: 0644]

diff --git a/libio/tst_wprintf.c b/libio/tst_wprintf.c
new file mode 100644 (file)
index 0000000..0838441
--- /dev/null
@@ -0,0 +1,10 @@
+#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);
+  return 0;
+}