re PR c++/25854 (Bogus diagnostic with '<type error>')
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Thu, 19 Jan 2006 17:29:42 +0000 (17:29 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 19 Jan 2006 17:29:42 +0000 (17:29 +0000)
commitc9043d037246a4de7b42f411ac628971d50ea145
treecbb6e67b336ab512aca01d5fa4a0f497fb3a64f2
parent9795d9fd7a80977d03a81e17f5d980e3b69f84d1
re PR c++/25854 (Bogus diagnostic with '<type error>')

PR c++/25854
* pt.c (maybe_process_partial_specialization): Return early on
error_mark_node.

* g++.dg/template/spec28.C: New test.

From-SVN: r109975
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/spec28.C [new file with mode: 0644]