// { dg-options "-std=c++0x" } struct A { template struct B; }; template struct A::B {}; // { dg-error "parameter packs|T" }