------- Comment #2 from pinskia at gcc dot gnu dot org 2007-02-22 06:52 ------- I take back this being valid code, to make it valid add "class QGList;" before the function. You still end up with an ICE so this is still a bug. This worked with "4.1.0 20051026" so it is at least a 4.3.0 regression.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE with friend in local |[4.3 Regression] ICE with |class (to a function) |friend in local class (to a | |function) Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30917