summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/960321-1.c
blob: eafe48ff753e0b1c973cc30940d4b7c22777a0d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
char a[10] = "deadbeef";

char
acc_a (long i)
{
  return a[i-2000000000L];
}

main ()
{
  if (acc_a (2000000000L) != 'd')
    abort ();
  exit (0);
}