2 // { dg-do compile { target c++11 } }
4 template <typename... Ts>
5 struct S { int a : sizeof(Ts); }; // { dg-error "parameter packs not expanded with '\.\.\.':" }
6 S<int> s; // { dg-message "'Ts'" "" { target *-*-* } .-1 }
8 struct T { int a : Ns; }; // { dg-error "parameter packs not expanded with '\.\.\.':" }
9 T<0> t; // { dg-message "'Ns'" "" { target *-*-* } .-1 }