[Bug c++/27102] [4.0/4.1/4.2 regression] ICE with invalid class name in function template
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 18 21:20:00 GMT 2006
------- Comment #6 from reichelt at gcc dot gnu dot org 2006-04-18 21:20 -------
> For example, I think "friend void T::f();" is valid, even if "T" is a
> template type parameter.
Indeed. Ouch...
We probably should have a testcase to cover this. Apparently, we don't have
one yet. Otherwise, my invalid patch wouldn't have passed regtesting.
But I guess, you already took care of this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27102
More information about the Gcc-bugs
mailing list