1 /* { dg-do compile { target i?86-*-mingw32* i?86-*-cygwin* } } */
2 /* { dg-options "-std=gnu89" } */
3 
4 void
5 __attribute__ ((fastcall))
f1()6 f1() { }
7 
8 void
9 _fastcall
f2()10 f2() { }
11 
12 void
13 __fastcall
f3()14 f3() { }
15 
16 void
17 __attribute__ ((fastcall))
f4(int x,int y,int z)18 f4(int x, int y, int z) { }
19 
20 /* Scan for global label with correct prefix and suffix.  */
21 /* { dg-final { scan-assembler "\.globl\[ \t\]@f4@12" } } */
22