diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-08-14 22:07:31 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-08-14 22:07:31 +0000 |
commit | f8c3b097ed6ce43f64f9dfceac2698b0727969ac (patch) | |
tree | cfdef9633c5c66f00701d87609abaf55113a1456 /libobjc | |
parent | 7b0e48fb44b44241ae79e34a666edc87fdfbeb78 (diff) | |
download | gcc-f8c3b097ed6ce43f64f9dfceac2698b0727969ac.zip gcc-f8c3b097ed6ce43f64f9dfceac2698b0727969ac.tar.gz gcc-f8c3b097ed6ce43f64f9dfceac2698b0727969ac.tar.bz2 |
re PR c++/27211 (Bogus error "template definition of non-template" when there is no non-template)
/cp
2007-08-14 Paolo Carlini <pcarlini@suse.de>
PR c++/27211
* decl2.c (check_classfn): Return error_mark_node in case of error;
in that case, do not call add_method.
* decl.c (start_decl): Deal with check_classfn returning
error_mark_node.
(grokfndecl): Likewise.
* pt.c (tsubst_friend_function): Likewise.
/testsuite
2007-08-14 Paolo Carlini <pcarlini@suse.de>
PR c++/27211
* g++.dg/template/error27.C: New.
* g++.dg/template/error28.C: New.
* g++.dg/other/pr28304.C: Adjust.
* g++.old-deja/g++.mike/p811.C: Likewise.
From-SVN: r127492
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions