// { dg-options "" } template struct A {}; struct B { static const int s; A a; // { dg-error "variably modified|no type|trying to instantiate" } }; const int B::s=16; B b;