--| 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 attempt-on-expanded-then-reference test_description After initial compilation where TEST2 is a reference class , a call to `{TEST2} #? Void' returns Void. Then TEST2 is changed to an expanded class, system recompiled and TEST2 is then changed back to a reference class. Executing the system then results in a seg fault instead of correct output, even though the classes are the same as the original classes. define EXPANDED "" copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_sub test2.e $CLUSTER test2.e compile_melted compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output define EXPANDED "expanded" copy_sub test2.e $CLUSTER test2.e compile_melted compile_result validity_warning TEST VWEQ define EXPANDED "" copy_sub test2.e $CLUSTER test2.e compile_melted compile_result ok execute_work NONE exec_output2 execute_result ok compare exec_output2 output test_end