(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
20030708-1.c
       1  /* PR c/11420 */
       2  /* { dg-do link { target fpic } } */
       3  /* { dg-options "-O2 -fpic" } */
       4  
       5  void (* volatile fn) (void);
       6  static void foo (void)
       7  {
       8  }
       9  
      10  int main (void)
      11  {
      12    fn = foo;
      13    return 0;
      14  }