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

re PR c++/66583 (incorrect implicitly-defined move constructor for class with...

re PR c++/66583 (incorrect implicitly-defined move constructor for class with anonymous union and NSDMI)

	PR c++/66583

	* init.c (innermost_aggr_scope): New.
	(build_field_list): Change uses_unions_p to uses_unions_or_anon_p.
	(sort_mem_initializers): Handle initializers for entire anonymous
	aggregates.

From-SVN: r229108
parent 0a8f32b8
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