gcc/testsuite/gcc.target/i386/pr60516.c
raw| 1 | /* PR target/60516 */ |
| 2 | /* { dg-do compile { target { ! x32 } } } */ |
| 3 | /* { dg-options "-O2" } */ |
| 4 | |
| 5 | struct S { char c[65536]; }; |
| 6 | |
| 7 | __attribute__((ms_abi, thiscall)) void |
| 8 | foo (void *x, struct S y) |
| 9 | { |
| 10 | } |
| 11 | |
| 12 | __attribute__((ms_abi, fastcall)) void |
| 13 | bar (void *x, void *y, struct S z) |
| 14 | { |
| 15 | } |
| 16 | |
| 17 | __attribute__((ms_abi, stdcall)) void |
| 18 | baz (struct S x) |
| 19 | { |
| 20 | } |