Skip to content
Snippets Groups Projects
Commit 40c1352c authored by Jason Merrill's avatar Jason Merrill
Browse files

c++: injected class name as default ttp arg [PR58538]

This function needs to handle this case like convert_template_argument.

	PR c++/58538

gcc/cp/ChangeLog:

	* semantics.cc (check_template_template_default_arg): Check
	maybe_get_template_decl_from_type_decl.

gcc/testsuite/ChangeLog:

	* g++.dg/template/ttp7.C: Remove expected error.
parent 3ea64aad
No related branches found
No related tags found
Loading
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