]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdio-common/tst-wc-printf.c
Prepare vfscanf to use __strtof128_internal
[thirdparty/glibc.git] / stdio-common / tst-wc-printf.c
index 1858db1962fb8de0da037421ef0bd19fcb14c364..2a2acb5059063f4d4bea0f6cb96848c45f62a103 100644 (file)
@@ -4,8 +4,8 @@
 #include <string.h>
 #include <wctype.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   wchar_t tmp[3];
   tmp[0] = '8';
@@ -16,7 +16,10 @@ main (void)
 
   printf ("with %%S: %S\n", tmp);
 
-  printf ("with %%C: %C\n", tmp[0]);
+  printf ("with %%C: %C\n", (wint_t) tmp[0]);
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"