aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr51694.c
blob: 579a2434d82b7033477e683674a0ae24d10d9a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void
foo (x, fn)
  void (*fn) ();
{
  int a = baz ((void *) 0, x);
  (*fn) (x, 0);
}

void
bar (void)
{
  void *x = 0;
  foo (x);
}