1 2 3 4 5 6 7 8 9 10 11 12
int foo (void) __attribute__ ((weak)); int foo (void) { return 1; } int mod1_bar (void) { return foo (); }