summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/rv-deduce.C
blob: 043543631adc5b3e0c07a8a6608a8dfd2aecdcb9 (plain)
1
2
3
4
5
6
7
8
// 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&);