aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gm2/iso/run/pass/proc.c
blob: 2321809d5f63642727f8f2e103f2d87893e7510e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

typedef  void (*p1)(void);
typedef  void (*proc)(p1);

void myfunc (p1 p)
{
}

void test (void) {}

main()
{
  proc foo;

  foo = myfunc;
  foo(test);
}