modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20030921-1.c (about)

     1  /* PR 12281  The darwin back-end was causing the function 
     2     f is not being emitted. TREE_SYMBOL_REFERENCED was being set
     3     instead of calling mark_referenced.  */
     4  
     5  
     6  static void f(void);
     7  void g(void (*x) (void)){x();}
     8  static inline void f(void){}
     9  void h(){g(f);}
    10  int main(){h();return 0;}