3 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5 // PR c++/10108: ICE in tsubst_decl for error due to non-existence
8 template <typename> struct A
9 { // { not-dg-error "candidates" }
10 template <typename> A(typename A::X) {} // { dg-error "no type" }
13 A<void> a; // { not-dg-error "instantiated|no match" }
14 // We currently don't give the "no match" error because we don't add the
15 // invalid constructor template to TYPE_METHODS.