aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr25993.c
blob: 392bbedfeb1cfd371293f6448f9327f6a9da05e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do assemble { target i?86-*-* x86_64-*-* } } */
/* { 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