2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr26719.c
blob3c87df17bb87a31f8fc54e176262d66a6944e518
1 /* { dg-do compile } */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
5 void abort (void);
7 int table[32][256];
9 int main(void)
11 int i, j;
13 for (i = 0; i < 32; i++)
14 for (j = 0; j < 256; j++)
15 table[i][j] = ((signed char)j) * i;
17 if (table[9][132] != -1116)
18 abort ();
20 return 0;