1 extern int __attribute__ ((weak)) fun (void);
2 int
bar(void)3 bar (void)
4 {
5   if (&fun != 0)
6     return fun ();
7   return 0;
8 }
9