// PR c++/48313 // { dg-options -std=c++0x } template void f(F&&) { } void g() { } template void h() { } int main() { f( g ); // OK void (&p)() = h; f( p ); // OK f( h ); // ??? }