2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20030921-1.c
blob8199dc657f24a140bee6631c3d40482f3ee8abe5
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. */
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;}