blob: 564194253835c49593688873eeb62036bf7ff74f [file] [log] [blame]
// Bug: foo and bar are considered to be overloaded (i.e. their
// IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though they aren't,
// so ?: thinks it can't resolve the names.
// Build don't link:
void foo ();
void bar ();
void baz ()
{
void (*p)() = 1 ? foo : bar; // gets bogus error - wrongful overloading
}