This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]