PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / 20090914-2_0.c
blob668e201e2e1a663e55b349e2bdbed38987ae280c
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");