Skip to content
Snippets Groups Projects
Commit b76d34e9 authored by Mark Mitchell's avatar Mark Mitchell Committed by Mark Mitchell
Browse files

re PR c++/29016 (tree check: expected class 'expression', have 'exceptional'...

re PR c++/29016 (tree check: expected class 'expression', have 'exceptional' (baselink) in get_base_var, at ipa-utils.c:224)

	PR c++/29016
	* typeck.c (build_unary_op): Don't form an ADDR_EXPR around a
	BASELINK.
	PR c++/29016
	* g++.dg/init/ptrfn1.C: New test.

From-SVN: r117123
parent 2801ed8e
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