------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 21:53 ------- As I mentioned in comment 1, this is not a bug as namelookup comes before access checking. This is what the standard says.
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23904