summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr25993.c
blob: 38d0e0f358503eab54058728363ab8bdd8c6538f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do assemble } */
/* { dg-skip-if "" { "*-*-darwin*" "*-*-mingw*" } { "*" } { "" } } */
/* { dg-options "-std=c99 -x assembler-with-cpp" } */

#ifndef __ASSEMBLER__
extern int func(void);
#else
.global func
.type func,%function
.align 4
func:
        ret
.size func,.-func
#endif