1 2 3 4 5 6 7 8 9 10 11
// Bug: g++ does overloading on a function-by-function basis. void f () { void (*fp)(void); { extern void g (); } fp = g; /* ERROR - no 'g' in scope */ }