blob: c025beb3ffd80aad8936f4f836199835b5e246c4 [file] [log] [blame]
// Build don't run:
// 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);
}