1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* { dg-do assemble } */ /* { dg-skip-if "" { "*-*-darwin*" "*-*-mingw*" } { "*" } { "" } } */ /* { dg-options "-std=c99 -x assembler-with-cpp" } */ #ifndef __ASSEMBLER__ extern int func(void); #else #ifdef __sun__ .globl func #else .global func #endif .type func,@function .align 4 func: ret .size func,.-func #endif