------- Comment #7 from burnus at gcc dot gnu dot org 2010-01-18 14:39 ------- (In reply to comment #6) > > It sets the accessibility at resolution time and makes the following > > variant > > of comment #2 work: > > That variant works for me already with the trunk, i.e. it is not rejected > which is (for me) the expected result.
Actually, I misread "makes ... work": It is seemingly rejected with the patch and - after (re)reading the standard (see quote in comment 6), I think rejecting is indeed correct. Sorry for not checking that part of my comment before hitting "Commit". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42545