// { dg-do compile { target c++11 } } struct A { template struct B; }; template struct A::B {}; // { dg-error "parameter packs|T" }