summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/xcsebug.c
blob: 614a6e80ebf379bc656fe2dd25fe252d08e9f5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int g1;
int g2;

foo ()
{
  int i = 1;
  int x;

  x = g1;
  (*(&g1 + i - 1)) = x + 1;
  x = g1;
  (*(&g1 + i - 1)) = x + 1;
  g1++;
}