[Bug c++/21413] bogus diagnostic from unidentified template

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 6 14:07:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list