1 // PR c++/36816, core issue 873
2 // { dg-do compile { target c++11 } }
3 
h(T &&)4 template <class T> void h (T&&) { }
5 
6 void (*pf)(int&)   = &h;
7 template <> void h(char&);
8 template void h(double&);
9