// We don't try to make implicit typename handle this case. // Build don't link: // Special g++ Options: template struct A { typedef T A_Type; }; template struct B : public A { A_Type Func(); // ERROR - candidate }; template A::A_Type B::Func() { // ERROR - no match }