re PR c++/29408 (parse error for valid code)
authorMark Mitchell <mark@codesourcery.com>
Mon, 16 Oct 2006 23:07:46 +0000 (23:07 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 16 Oct 2006 23:07:46 +0000 (23:07 +0000)
commit21864445019fb2a47312b6afcb2aede62cdc677a
tree4516cb9af9e0def299358adb9611a4eda5ac901b
parentb4c74ba24343fb49967075548248964138920c30
re PR c++/29408 (parse error for valid code)

PR c++/29408
* parser.c (cp_parser_using_declaration): Stop parsing when
something goes wrong with an access declaration.
PR c++/29408
* g++.dg/parse/dtor12.C: New test.

From-SVN: r117800
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/dtor12.C [new file with mode: 0644]