aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr59927.c
blob: 693c765951350379a4c9cabab94db01ccbf603c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR target/59927 */
/* { dg-do compile } */
/* { 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);
}