1// { dg-do assemble } 2// Bug: foo and bar are considered to be overloaded (i.e. their 3// IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though they aren't, 4// so ?: thinks it can't resolve the names. 5 6void foo (); 7void bar (); 8 9void baz () 10{ 11 void (*p)() = 1 ? foo : bar; // { dg-bogus "" } wrongful overloading 12} 13