re PR c++/9639 ([New parser] Namespace std in constructor argument lists on illegal...
authorMark Mitchell <mark@codesourcery.com>
Mon, 17 Mar 2003 17:36:24 +0000 (17:36 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 17 Mar 2003 17:36:24 +0000 (17:36 +0000)
commitec20aa6ccff4a951fcc2fbb78bb8ca7d0ad16be0
tree9edb78211ce85e0408817f532885ec0202ab4279
parent1f43de927f4a02df4301ecc929d9c41acdabf7f8
re PR c++/9639 ([New parser] Namespace std in constructor argument lists on illegal code causes an ICE)

PR c++/9639
* parser.c (cp_parser_declarator_id): Clear parser->scope.

PR c++/9639
* g++.dg/parse/crash1.C: New test.

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