From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13706 invoked by alias); 1 Jul 2006 22:09:35 -0000 Received: (qmail 13683 invoked by uid 48); 1 Jul 2006 22:09:29 -0000 Date: Sat, 01 Jul 2006 22:09:00 -0000 Message-ID: <20060701220929.13682.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/21498] clause 7.1.5.3/2 of the c++ is not enforced In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mmitchel at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00016.txt.bz2 List-Id: ------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-07-01 22:09 ------- This code is not invalid, and G++ is correct to accept it. DR68 permits this grammatical production and typedef-names for classes are class-names. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21498