summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/931110-2.c
blob: 586615b180c03d743c38efa97d9cc8f374c39618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
main ()
{
  static int a[] = {3, 4};
  register int *b;
  int c;

  b = a;
  c = *b++ % 8;
  if (c != 3)
    abort ();
  exit (0);
}