aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr60516.c
blob: d7e11161c498218af99587da9b7038f1436e3fc1 (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 { target { ! x32 } } } */
/* { 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)
{
}