summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20030921-1.c
blob: 8199dc657f24a140bee6631c3d40482f3ee8abe5 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR 12281  The darwin back-end was causing the function 
   f is not being emitted. TREE_SYMBOL_REFERENCED was being set
   instead of calling mark_referenced.  */


static void f(void);
void g(void (*x) (void)){x();}
static inline void f(void){}
void h(){g(f);}
int main(){h();return 0;}