Skip to content
Snippets Groups Projects
Commit ec63b02e authored by reichelt's avatar reichelt
Browse files

PR c++/27804

	* init.c (constant_value_1): Return decl instead of error_mark_node
	for invalid initializers.

	PR c++/27804
	* g++.dg/init/const4.C: New test.
	* g++.dg/init/member1.C: Add error-marker.
	* g++.dg/other/fold1.C: Adjust error-marker.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114377 138bc75d-0d04-0410-961f-82ee72b054a4
parent 9ddd059a
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