------- Comment #9 from reichelt at gcc dot gnu dot org  2006-08-03 02:54 
-------
Subject: Bug 27508

Author: reichelt
Date: Thu Aug  3 02:54:07 2006
New Revision: 115897

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115897
Log:
        PR c++/27508
        * parser.c (cp_parser_unqualified_id): Check for invalid scopes
        when parsing destructor names.

        * g++.dg/parse/dtor9.C: New test.
        * g++.dg/parse/dtor10.C: New test.
        * g++.dg/other/error7.C: Adjust error-marker.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/dtor10.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/dtor9.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/parser.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/error7.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27508

Reply via email to