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