Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / alias-8.c
blob7c825f9657952db00bc38c54334c84436b147713
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 void abort(void);
5 int main()
7 int a[2];
8 int i = 1;
9 a[0] = 1;
10 a[1] = 2;
11 if (*(a + i) != 2)
12 abort();
13 return 0;