// PR c++/105003 // { dg-do compile { target c++11 } } template struct A; template struct B { }; template struct C { }; // Fn is not complex, since T is used outside the pack expansion, so the two // partial specializations are equivalent. template using Fn = T(Ts...); template struct A*> { }; template struct A { }; // { dg-error "redefinition" } // CB is complex, since T is only used in the pack expansion, so the two // partial specializations are functionally equivalent but not equivalent. template using CB = C...>; template struct A*> { }; template struct A...>*> { }; // IFNDR A>*> a; // { dg-error "ambiguous" } // { dg-prune-output "incomplete" }