* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic35.C
blob8365c9ba50b995549a4b08ad8b4f9d758ac7b37f
1 // { dg-do compile { target c++11 } }
2 template<int I, typename... Args>
3 void get_ith(const Args&... args); // { dg-message "note" }
5 void f()
7   get_ith<1, float>(1, 2.0, 'x');
8   get_ith<1, int, double, char, int>(1, 2.0, 'x'); // { dg-error "too few arguments" }