mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 18:23:41 +08:00
ce723583fc
* stdio-common/tiformat.c (sprint_ints): Add tests for I flag. * libio/tst_wprintf.c (main): Add test for I flag.
12 lines
224 B
C
12 lines
224 B
C
#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;
|
|
}
|