summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20090914-2_0.c
blob: 906b3c44196caf68c0fc30fd7279909394181e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-lto-do run } */
/* { dg-skip-if "x86 only" { ! { x86_64-*-* i?86-*-* } } { "*" } { "" } } */

/* Doesn't work without this dummy function with -fwhopr.  */
int foo(void) { }

asm(".text\n"
    ".globl main\n"
    "\t.type main,@function\n"
    "main:\n"
    "\txorl %eax, %eax\n"
    "\tret\n");