--| 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 invariant-changes-current test_description A class creates an instance of a second class and calls a boolean feature `is_value_required' on it. The second class has an invariant that changes the value of a CHARACTER attribute, which affects the result returned by `is_value_required'. Code compiles fine when frozen with all assertions turned on, but when the system is executed it dies with a segmentation violation. Finalized code does not die, but it incorrectly prints "False" instead of "True". copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_raw a.e $CLUSTER a.e compile_melted compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output2 execute_result ok compare exec_output2 output compile_final_keep compile_result ok c_compile_final c_compile_result ok execute_final NONE exec_output3 execute_result ok compare exec_output3 output test_end