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