This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r115898 - in /branches/gcc-4_0-branch/gcc: cp/C...
- From: reichelt at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 03 Aug 2006 03:02:17 -0000
- Subject: r115898 - in /branches/gcc-4_0-branch/gcc: cp/C...
Author: reichelt
Date: Thu Aug 3 03:02:16 2006
New Revision: 115898
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115898
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_0-branch/gcc/testsuite/g++.dg/parse/dtor10.C
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/dtor9.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/parser.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/error7.C