aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr60516.c
blob: 575c8b61d1ee703b8ff069a61e20656d3b14d167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PR target/60516 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

struct S { char c[65536]; };

__attribute__((ms_abi, thiscall)) void
foo (void *x, struct S y)
{
}

__attribute__((ms_abi, fastcall)) void
bar (void *x, void *y, struct S z)
{
}

__attribute__((ms_abi, stdcall)) void
baz (struct S x)
{
}