2013-10-25 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr58626.c
blob1416384b7a6f7e511a150370dd722512c6ed3e46
1 /* { dg-do run } */
3 extern void abort (void);
5 int a[8][6] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
6 int b;
8 int main(void)
10 for (b = 0; b <= 1; b++) {
11 a[1][3] = 0;
12 int c;
13 for (c = 0; c <= 1; c++) {
14 a[c + 1][b] = a[c + 2][b];
17 if (a[1][1] != 1)
18 abort ();
19 return 0;