Skip to content
Snippets Groups Projects
Commit a3d536f1 authored by Volker Reichelt's avatar Volker Reichelt Committed by Volker Reichelt
Browse files

re PR c++/11468 (Deriving from CNI class java::lang::Object causing an ICE)

	PR c++/11468
	* init.c (build_new_1): Handle error_mark_nodes returned by
	build_java_class_ref.
	(build_java_class_ref): Do not abort compilation, but return
	error_mark_node.  Improve error message.  Fix indentation.

	* g++.dg/other/java2.C: New test.

From-SVN: r114937
parent 6de5f432
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