1 /* Dereived from the test case in BZ #2337. */
13 static char buf[512] __attribute__ ((aligned (4096)));
19 setlocale (LC_ALL, "de_DE.UTF-8");
21 FILE *fp = fdopen (dup (STDOUT_FILENO), "a");
23 error (EXIT_FAILURE, errno, "fdopen(,\"a\")");
25 setvbuf (fp, buf, _IOFBF, sizeof (buf));
27 /* fwprintf to unbuffered stream. */
28 fwprintf (fp, L"hello.\n");
38 #define TEST_FUNCTION do_test ()
39 #include "../test-skeleton.c"