------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06 14:07 ------- Here is the reduced testcase:
template <typename TT> struct a { typedef typename TT::value_type value_type; }; template<typename T> void foo(int); template<typename C> typename a<C>::value_type foo(const C&); int main() { int s; foo<float>(s); } But I cannot remember if the diagnostic is valid or not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21413