// { dg-do compile } // Contributed by Andrew Pinski // PR c++/13810: ICE while parsing invalid default argument for a // template template parameter. struct X; template struct A {}; template class = X > struct B1 {}; // { dg-error "as a default value" } template class = A<0> > struct B2 {}; // { dg-error "as a default value" } template struct S { template