rt_gccstream/gcc/testsuite/g++.dg/cpp0x/rv-deduce.C

9 lines
177 B
C

// PR c++/36816, core issue 873
// { dg-options -std=c++0x }
template <class T> void h (T&&) { }
void (*pf)(int&) = &h;
template <> void h(char&);
template void h(double&);