Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / pr60404_0.c
bloba22216db20780bd317443417041634a86b961b39
1 /* { dg-lto-do run } */
2 /* { dg-lto-options { { -O1 -flto } } } */
3 /* { dg-extra-ld-options { -O0 } } */
5 extern void fn2 (int);
6 int a[1], b;
8 int
9 main ()
11 fn2 (0);
12 if (b != 0 || a[b] != 0)
13 __builtin_abort ();
14 return 0;