blob: 2b883950cb720aa820391c905fc45d2f6c955aee [file] [log] [blame]
// 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
}