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

re PR c++/40306 (ICE when using auto to declare a local copy inside a member function)

	PR c++/40306
	PR c++/40307
	* decl.c (cp_finish_decl): Handle auto deduction from ().
	* typeck.c (build_x_indirect_ref): Handle dereferencing an operand
	with dependent type that is known to be a pointer.

From-SVN: r148088
parent 69596c69
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