// Bug: f1 and f2 are treated as overloaded when they aren't. | |
// Build don't link: | |
// Special g++ Options: -ansi -pedantic-errors -w | |
int i; | |
void f1(double) { } | |
void f2(double) { } | |
void | |
test () | |
{ | |
i ? f1 : f2; // gets bogus error - improper overloading | |
} |