1  /* { dg-do compile { target ia32 } } */
       2  /* { dg-require-effective-target fpic } */
       3  /* { dg-options "-fPIC -O2 -mregparm=3" } */
       4  /* { dg-final { scan-assembler-not "call" } } */
       5  
       6  void foo(void (*bar)(void))
       7  {
       8    bar();
       9  }