• paolo's avatar
    /cp · e5252ce9
    paolo authored
    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.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127492 138bc75d-0d04-0410-961f-82ee72b054a4
    e5252ce9
ChangeLog 1.54 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.