--| Copyright (c) 1993-2006 University of Southern California and contributors.
--| All rights reserved.
--| Your use of this work is governed under the terms of the GNU General
--| Public License version 2.

-- This is a test control file

test_name 	finalize-create-deferred-type
test_description A system calls a routine which tries to create an instance of a deferred type, where this invalid creation is not detected at compile time because the target of the creation is anchored.  When the system is finalized the generated C code won't link, even if dead code removal is off.

copy_sub 	Ace $TEST Ace
copy_raw 	test.e $CLUSTER test.e
copy_raw 	test1.e $CLUSTER test1.e
copy_raw 	test2.e $CLUSTER test2.e
copy_raw 	test3.e $CLUSTER test3.e
copy_raw 	test4.e $CLUSTER test4.e

compile_melted
compile_result 	 validity_error TEST2 VGCC(2)

test_end