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

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

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