1  /* { dg-require-effective-target untyped_assembly } */
       2  /* { dg-require-effective-target indirect_calls } */
       3  
       4  void
       5  foo (x, fn)
       6    void (*fn) ();
       7  {
       8    int a = baz ((void *) 0, x);
       9    (*fn) (x, 0);
      10  }
      11  
      12  void
      13  bar (void)
      14  {
      15    void *x = 0;
      16    foo (x);
      17  }