------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 10:52 ------- This is invalid code. The following is still invalid code (but closer to legal code): struct B { ~B(); }; struct A { friend ~B(); };
Add B:: infront of the destructor fixes both the ICE and validness of the testcase. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-valid-code |ice-on-invalid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22293