// { dg-do assemble }extern"C"intprintf(const char*, ...);template<class T>struct A {typedef typename T::X B;// { dg-error "" } not a classA(double);};template<class T>voidxxx(typename A<T>::B);template<class T>struct B {friendvoid xxx<T>(T);// { dg-error "" } does not match any template};templatestruct B<double>;