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

template<typename... Args>
float& f(const Args&...);

int& g(int x, float y)
{
  return f(x, y);
}