1// { dg-do assemble } 2// Bug: bar is considered to be overloaded (i.e. its 3// IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though it isn't, 4// so default_conversion thinks it can't resolve the name. 5 6void foo (); 7void bar (); 8 9void baz () 10{ 11 void (*p)() = 1 ? (void (*)()) &foo : bar; 12} 13