blob: 00e6ea378a7f5249ab376bbc3cd5140d3e7019af [file] [log] [blame]
/* { dg-require-effective-target untyped_assembly } */
/* { dg-require-effective-target indirect_calls } */
/* { dg-additional-options "-std=gnu17 -fpermissive" } */
void
foo (x, fn)
void (*fn) ();
{
int a = baz ((void *) 0, x);
(*fn) (x, 0);
}
void
bar (void)
{
void *x = 0;
foo (x);
}