------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-01-04 18:49 ------- Subject: Bug 24782
Author: mmitchel Date: Wed Jan 4 18:49:21 2006 New Revision: 109343 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109343 Log: PR c++/24782 * parser.c (cp_parser_nested_name_specifier_opt): Preserve access checks, even when parsing tentatively. PR c++/24782 * g++.dg/parse/access9.C: New test. * g++.dg/tc1/dr52.C: Tweak error markers. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/access9.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/tc1/dr52.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24782