------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-11-26 16:39 ------- Right. The code example in comment #1 should compile and comment #8 should not. Class foo::b, which is still not declared yet, is the friend of class foo::a. So this bug is both accepts-invalid and rejects-valid.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016