PR tree-optimization/93683 - ICE on calloc with unused return value in ao_ref_init_fr...
[gcc.git] / gcc / testsuite / gcc.dg / pr67271.c
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
3 /* { dg-require-effective-target int32plus } */
4
5 extern long int labs (long int j);
6 int
7 main ()
8 {
9 long *a = (long *)"empty";
10 int i = 1441516387;
11 a[i] = labs (a[i]);
12 return 0;
13 }