// PR c++/58674 // { dg-do compile { target c++11 } } template struct A {}; template using B = A; template struct C { B b; // { dg-error "not usable" } }; struct X { static const int i; }; C c;