From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9199 invoked by alias); 11 Oct 2007 13:50:26 -0000 Received: (qmail 9175 invoked by uid 48); 11 Oct 2007 13:50:14 -0000 Date: Thu, 11 Oct 2007 13:50:00 -0000 Message-ID: <20071011135014.9174.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/33677] Member with same name as class In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "s__nakayama at infoseek dot jp" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg01136.txt.bz2 ------- 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