From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3532 invoked by alias); 27 Apr 2007 19:13:41 -0000 Received: (qmail 3483 invoked by uid 48); 27 Apr 2007 19:13:31 -0000 Date: Fri, 27 Apr 2007 19:13:00 -0000 Subject: [Bug c++/31730] New: nested typedef to template of same name rejected X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "eric dot niebler at gmail dot com" 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-04/txt/msg02137.txt.bz2 The following code should compile. With gcc 4.3 it does not. template struct match_context { }; template struct match_state { typedef match_context match_context; }; -- Summary: nested typedef to template of same name rejected Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31730