summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-widechar-2.c
blob: e22f88a8e4005fa33b4102b72f4cb125538f498c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
widechar-2.c from the execute part of the gcc torture tests.
*/

#include <testfwk.h>

#include <stddef.h>

const wchar_t ws[] = L"foo";

void
testTortureExecute (void)
{
  if (ws[0] != L'f' || ws[1] != L'o' || ws[2] != L'o' || ws[3] != L'\0')
    ASSERT(0);

  return;
}