Skip to content
Snippets Groups Projects
Commit fea3397e authored by Marek Polacek's avatar Marek Polacek Committed by Marek Polacek
Browse files

PR c++/91845 - ICE with invalid pointer-to-member.

	* expr.c (mark_use): Use error_operand_p.
	* typeck2.c (build_m_component_ref): Check error_operand_p after
	calling mark_[lr]value_use.

	* g++.dg/cpp1y/pr91845.C: New test.

From-SVN: r276102
parent fe69bee3
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