summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr69246.c
blob: e56e691c4443283165172b0d7136a2d8ae3594fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2" } */

void (__attribute__ ((stdcall)) *a) (int);

void __attribute__ ((stdcall))
foo (int x)
{
  a (x);
}

int (__attribute__ ((stdcall)) *b) (int);

int __attribute__ ((stdcall))
bar (int x)
{
  return b (x);
}