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