// { dg-do compile { target c++11 } } // { dg-prune-output "invalid" } templatestruct A{}; templatevoid f(U...){ A x; // { dg-error "surrounded by parentheses" } } template struct Indices; template struct Next_increasing_indices; template struct Next_increasing_indices > { typedef Indices type; // { dg-error "surrounded by parentheses" } };