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

template<typename T1, typename T2>
float& f(T1, T2);

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