6 main (int argc, char *argv[])
18 n = wscanf (L"%s %S %c%C %d", buf1, wbuf2, &c3, &wc4, &d);
20 if (n != 5 || strcmp (buf1, "Hello") != 0 || wcscmp (wbuf2, L"World") != 0
21 || c3 != '!' || wc4 != L'!' || d != 42)
23 printf ("*** FAILED, n = %d, buf1 = \"%s\", wbuf2 = L\"%S\", c3 = '%c', wc4 = L'%C', d = %d\n",
24 n, buf1, wbuf2, c3, (wint_t) wc4, d);