--| 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 	 assign-attempt-redefined-type
test_description A routine in class A does an assignment attempt whose target is an attribute of type B and is the routine's class.  A descendant A1 of class A redefines the type of the attribute to be a descendant of B. When the routine is executed in A1 with a passed-in argument that is used as the source of the assignment attempt, it incorrectly allows the assignment attempt to succeed.

copy_sub 	 Ace $TEST Ace
copy_raw 	 test.e  $CLUSTER test.e
copy_raw 	 a.e  $CLUSTER a.e
copy_raw 	 a1.e  $CLUSTER a1.e
copy_raw 	 a2.e  $CLUSTER a2.e
copy_raw 	 b.e  $CLUSTER b.e
copy_raw 	 b1.e  $CLUSTER b1.e
copy_raw 	 b2.e  $CLUSTER b2.e
compile_melted
compile_result 	 ok

execute_work	 NONE exec_output1
execute_result	 ok
compare		 exec_output1 output

test_end