This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5386: g++ mis-parses bad nested name
- From: Jason Merrill <jason at prospero dot cambridge dot redhat dot com>
- To: gcc-gnats at gcc dot gnu dot org
- Date: Tue, 15 Jan 2002 11:38:50 GMT
- Subject: c++/5386: g++ mis-parses bad nested name
>Number: 5386
>Category: c++
>Synopsis: g++ mis-parses bad nested name
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 15 03:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Jason Merrill
>Release: unknown-1.0
>Organization:
redhat
>Environment:
System: Linux prospero.cambridge.redhat.com 2.4.13-0.5 #1 Sat Nov 3 15:08:02 EST 2001 i686 unknown
Architecture: i686
>Description:
'class A::B;' is parsed as a declaration of ::B, when it should be an ill-formed
elaborated-type-specifier under the new rules for parsing
identifiers chained with ::.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: