blob: d0510d609b5b78c0efb27e6c78de7244532f728c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-lto-do run } */
/* { dg-skip-if "x86 only" { ! { x86_64-*-* i?86-*-* } } { "*" } { "" } } */
/* { dg-skip-if "no .type" { *-*-darwin* } { "*" } { "" } } */
/* 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");
|