1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// Build don't link: // Declarations after the first one don't affect the set of used decls. namespace A{ void f(); // ERROR - .* } using A::f; namespace A{ void f(int); } using A::f; void g() { f(4); // ERROR - too many arguments }