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