------- Comment #4 from mmitchel at gcc dot gnu dot org 2006-01-04 18:48 ------- Subject: Bug 24782
Author: mmitchel Date: Wed Jan 4 18:48:38 2006 New Revision: 109342 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109342 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: trunk/gcc/testsuite/g++.dg/parse/access9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/tc1/dr52.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24782