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

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

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