Skip to content
Snippets Groups Projects
Commit b726f5e6 authored by Andrew Pinski's avatar Andrew Pinski Committed by Jakub Jelinek
Browse files

re PR c++/38648 (ICE with string literal)

	PR c++/38648
	* typeck.c (cp_build_modify_expr): Check for NULL current_function_decl.

	* g++.dg/expr/string-1.C: New test.
	* g++.dg/expr/string-2.C: New test.

From-SVN: r143245
parent d67a3e2a
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