PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / pr54702_0.c
blob2242f50b6def63465f4ed27e0c1e3ab17e997d6a
1 /* { dg-lto-do link } */
2 /* { dg-lto-options { { -O2 -flto -w } } } */
3 /* { dg-extra-ld-options { -r -nostdlib } } */
5 #include <stdlib.h>
6 void* f ()
8 void* p = malloc (1);
9 return p;