PR c++/29408
commit7638e10c432e4b1ce946573371e97c3dbab8160c
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2006 23:07:46 +0000 (16 23:07 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2006 23:07:46 +0000 (16 23:07 +0000)
tree4516cb9af9e0def299358adb9611a4eda5ac901b
parent420d15dc5123825e4d80aea5786a3075ca002478
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117800 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/dtor12.C [new file with mode: 0644]