2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / fastcall-1.c
blob9d701239169f88bb69711d31965b4f9696808f6e
1 /* { dg-do compile { target i?86-*-mingw32* i?86-*-cygwin* } } */
2 /* { dg-options "-std=gnu89" } */
4 void
5 __attribute__ ((fastcall))
6 f1() { }
8 void
9 _fastcall
10 f2() { }
12 void
13 __fastcall
14 f3() { }
16 void
17 __attribute__ ((fastcall))
18 f4(int x, int y, int z) { }
20 /* Scan for global label with correct prefix and suffix. */
21 /* { dg-final { scan-assembler "\.globl\[ \t\]@f4@12" } } */