summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/widechar-2.c
blob: 9e6a73bcd29d7eafac0cb7109159d690e016ba13 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stddef.h>

const wchar_t ws[] = L"foo";

int
main (void)
{
  if (ws[0] != L'f' || ws[1] != L'o' || ws[2] != L'o' || ws[3] != L'\0')
    abort();
  exit(0);
}