aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr59927.c
blob: afb53069bcf0c47d36e212476afd4eb4d25487c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR target/59927 */
/* { dg-do compile { target { ! x32 } } } */
/* { dg-options "-O2 -g" } */

extern void baz (int) __attribute__ ((__ms_abi__));

void
foo (void (__attribute__ ((ms_abi)) *fn) (int))
{
  fn (0);
}

void
bar (void)
{
  baz (0);
}