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 6 void foo (); 7 void bar (); 8 baz()9void baz () 10 { 11 void (*p)() = 1 ? (void (*)()) &foo : bar; 12 } 13