PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / 20090914-2_0.c
blobd83ed377bb4e4805bbee9edb43c2fd0827b33846
1 /* { dg-lto-do run } */
2 /* { dg-skip-if "x86 only" { ! { x86_64-*-* i?86-*-* } } { "*" } { "" } } */
3 /* { dg-skip-if "no .type" { *-*-darwin* } { "*" } { "" } } */
4 /* { dg-skip-if "no @function" { *-*-mingw* *-*-cygwin* } { "*" } { "" } } */
6 /* Doesn't work without this dummy function with -fwhopr. */
7 int foo(void) { }
9 asm(".text\n"
10 ".globl main\n"
11 "\t.type main,@function\n"
12 "main:\n"
13 "\txorl %eax, %eax\n"
14 "\tret\n");