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

c++: restore instantiate_decl assert

For PR61445 I removed this assert, but PR108242 demonstrated why it's still
useful; to avoid regressing the former testcase I check pattern_defined
in the assert.

This reverts r212524.

	PR c++/61445

gcc/cp/ChangeLog:

	* pt.cc (instantiate_decl): Assert !defer_ok for local
	class members.
parent 4a3dbcbd
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