summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic48.C
blob: ab3f777f795764c530d8bc55b7ae047890b0aacd (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-std=gnu++0x" }
template<typename T, typename... Args>
int& f(const T&, Args...);

template<typename T>
float& f(const T&);

float& g() {
  return f(17);
}