--| 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 inline-pass-expanded test_description A class `TEST1' has a routine `f (x: like Current): like x' with body `Result := x'. A second class `expanded TEST2' inherits from TEST1. A third class calls `f' and passes it an object of type TEST2. System execution dies with a segmentation fault, but only if the system is finalized with inlining. Melted code, frozen code and finalized code without inlining work correctly. 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 compile_final compile_result ok c_compile_final c_compile_result ok execute_final NONE exec_output1 execute_result ok compare exec_output1 output test_end