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

template<typename... Args>
int& f(Args...);

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