summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/921019-1.c
blob: f48613a8ba950f72bd79823e32768cf1d9c6cb4d (plain)
1
2
3
4
5
6
7
8
void *foo[]={(void *)&("X"[0])};

main ()
{
  if (((char*)foo[0])[0] != 'X')
    abort ();
  exit (0);
}