Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/widechar-2.c

raw
1 #include <stddef.h>
2
3 void abort(void);
4 void exit(int);
5
6 const wchar_t ws[] = L"foo";
7
8 int
9 main (void)
10 {
11 if (ws[0] != L'f' || ws[1] != L'o' || ws[2] != L'o' || ws[3] != L'\0')
12 abort();
13 exit(0);
14 }