blob: 64cc728fc8fc0a1bc056bb57158ef366c6bb62b6 [file] [log] [blame]
// { dg-do link }
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
void f (T&) ;
template <>
void f (void (&)())
{
}
void g ()
{
}
void h ()
{
}
bool b;
int main ()
{
f (b ? g : h);
}