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++; }