* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / vt-51314.C
blob8a5a66a104b5da1e8545b2a8b6f9999797f21b4b
1 // { dg-do compile { target c++11 } }
2 // { dg-prune-output "invalid" }
4 template<int>struct A{};
5 template<class...U>void f(U...){
6     A<sizeof...U> x; // { dg-error "surrounded by parentheses" }
10 template<int...> struct Indices;
11 template<class> struct Next_increasing_indices;
12 template<int...I> struct Next_increasing_indices<Indices<I...> > {
13     typedef Indices<I...,sizeof...I> type; // { dg-error "surrounded by parentheses" }