re PR c++/32560 (ICE on invalid declaration in template)
authorPaolo Carlini <pcarlini@suse.de>
Wed, 11 Jul 2007 09:18:39 +0000 (09:18 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 11 Jul 2007 09:18:39 +0000 (09:18 +0000)
commitb8ade4078ef959cee0343844a11bf9fca8ade916
treee99401a5dbba9c6e42c3e69eadc777155804393c
parent0136f2f71ad3911e4efebe11670422a5cc3efc16
re PR c++/32560 (ICE on invalid declaration in template)

/cp
2007-07-11  Paolo Carlini  <pcarlini@suse.de>

PR c++/32560
* parser.c (cp_parser_make_indirect_declarator): When the
the code argument is ERROR_MARK return cp_error_declarator.

/testsuite
2007-07-11  Paolo Carlini  <pcarlini@suse.de>

PR c++/32560
* g++.dg/template/decl3.C: New.

From-SVN: r126542
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/decl3.C [new file with mode: 0644]