Skip to content
Snippets Groups Projects
Commit 06ef1583 authored by Patrick Palka's avatar Patrick Palka
Browse files

c++: list CTAD and resolve_nondeduced_context [PR106214]

This extends the PR93107 fix, which made us do resolve_nondeduced_context
on the elements of an initializer list during auto deduction, to happen for
CTAD as well.

	PR c++/106214
	PR c++/93107

gcc/cp/ChangeLog:

	* pt.cc (do_auto_deduction): Move up resolve_nondeduced_context
	calls to happen before do_class_deduction.  Add some
	error_mark_node tests.

gcc/testsuite/ChangeLog:

	* g++.dg/cpp1z/class-deduction114.C: New test.
parent e2b993db
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