Skip to content
Snippets Groups Projects
Commit 04ef83b7 authored by mmitchel's avatar mmitchel
Browse files

PR c++/29732

	* cp-tree.h (DECL_USE_TEMPLATE): Mention partial specializations.
	(explicit_class_specialization_p): Declare.
	* pt.c (explicit_class_specialization_p): New function.
	* parser.c (cp_parser_init_declarator): Check correct number of
	template parameters for in-class function definitions.
	(cp_parser_check_declrator_template_parameters): Stop looking for
	template classes when we find an explicit specialization.
	PR c++/29732
	* g++.dg/template/crash65.C: New test.
	* g++.dg/template/spec16.C: Tweak error markers.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119649 138bc75d-0d04-0410-961f-82ee72b054a4
parent db4f6513
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment