aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic142.C
blob: 83b2429a5a149a588846f91eb3d2a857dcf9bf26 (plain)
1
2
3
4
5
6
7
8
9
// Core 1609
// { dg-require-effective-target c++11 }

template<typename... T>
void f2(int a = 0, T... b, int c = 1);

int main(){
  f2<>(); // parameter a has the value 0 and parameter c has the value 1
}