aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/rv-deduce.C
blob: ce06d13196a49e6e3673d34536a970089e1bc915 (plain)
1
2
3
4
5
6
7
8
// PR c++/36816, core issue 873
// { dg-do compile { target c++11 } }

template <class T> void h (T&&) { }

void (*pf)(int&)   = &h;
template <> void h(char&);
template void h(double&);