aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gcc.target/i386/fastcall-1.c
blob: 9d701239169f88bb69711d31965b4f9696808f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile { target i?86-*-mingw32* i?86-*-cygwin* } } */
/* { dg-options "-std=gnu89" } */

void
__attribute__ ((fastcall))
f1() { }

void
_fastcall
f2() { }

void
__fastcall
f3() { }

void
__attribute__ ((fastcall))
f4(int x, int y, int z) { }

/* Scan for global label with correct prefix and suffix.  */
/* { dg-final { scan-assembler "\.globl\[ \t\]@f4@12" } } */