--| 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 melted-void-expanded-arg test_description After initial compilation and freezing, the type of a formal argument to routine is changed from `TEST1' to `expanded TEST1' and changes are melted. Since the actual argument is Void, a "void assigned to expanded" exception should occur when the system is executed. Instead, execution terminates with "illegal instruction" and no exception trace. define EXPANDED "" copy_sub Ace $TEST Ace copy_sub test.e $CLUSTER test.e copy_raw test1.e $CLUSTER test1.e compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output define EXPANDED "expanded" copy_sub test.e $CLUSTER test.e compile_melted compile_result ok execute_work NONE exec_output2 execute_result failed test_end