int a(void) { return 1; } int __attribute__((weak)) f(int x) { return 0; } int z(void) { return 2; } int main(void) { return a() + f(0) + z(); }