Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20030921-1.c

raw
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);
8 void g(void (*x) (void)){x();}
9 static inline void f(void){}
10 void h(){g(f);}
11 int main(){h();return 0;}