// PR c++/14912// Bug: We were instantiating A<B> in order to compare it to the matching// argument for C<B,B>, which fails.template<classT>structA{typedeftypenameT::FF;};structB{};template<classT,classU=typenameA<T>::F>structC{typenameT::Ff;// { dg-error "no type" }};C<B,B>c;// { dg-message "instantiated" }