// { dg-do link } // Origin: Mark Mitchell template void f (T&) ; template <> void f (void (&)()) { } void g () { } void h () { } bool b; int main () { f (b ? g : h); }