modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/widechar-2.c (about)

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