template<typenameT>template<typenameU=int>structA1<T>::B{};// expected-error{{cannot add a default template argument to the definition of a member of a class template}}
// Testcase 3
template<typenameT>
structX2{
voidf0();
template<typenameU>voidf1();
};
template<typenameT=int>voidX2<T>::f0(){}// expected-error{{cannot add a default template argument to the definition of a member of a class template}}
template<typenameT>template<typenameU=int>voidX2<T>::f1(){}// expected-error{{cannot add a default template argument to the definition of a member of a class template}}