------- Comment #2 from s__nakayama at infoseek dot jp 2007-10-11 13:50 ------- (In reply to comment #1) > This code is invalid, and we should reject both of them.
Why do you think that this is invalid? Member with same name as class have restrictions(ISO/IEC 14882:2003 9.2 p13/13a). But, I can not find the restriction that this is invalid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33677