2 // Bug: We were instantiating A<B> in order to compare it to the matching
3 // argument for C<B,B>, which fails.
8 typedef typename T::F F;
13 template <class T, class U = typename A<T>::F >
16 typename T::F f; // { dg-error "no type" }
19 C<B, B> c; // { dg-message "required" }