Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/lto/20090914-2_0.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-lto-do run } */ /* { dg-skip-if "x86 only" { ! { x86_64-*-* i?86-*-* } } } */ /* { dg-skip-if "no .type" { *-*-darwin* } } */ /* { dg-skip-if "no @function" { *-*-mingw* *-*-cygwin* } } */ /* 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");