2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr25993.c
blob1e7e933fb9a74eacda6582c07af818131295c1ef
1 /* { dg-do assemble } */
2 /* { dg-skip-if "" { "*-*-darwin*" "*-*-mingw*" } } */
3 /* { dg-options "-std=c99 -x assembler-with-cpp" } */
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