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 /* { dg-require-effective-target indirect_calls } */
6 
7 static void f(void);
g(void (* x)(void))8 void g(void (*x) (void)){x();}
f(void)9 static inline void f(void){}
h()10 void h(){g(f);}
main()11 int main(){h();return 0;}
12