--| 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 wrong-field-count test_description A class creates an instance of INTERNAL and uses it to print the field count of the current object. The system compiles fine when frozen and correctly prints 0 when executed. Then an attribute is added to the class and changes are melted. System execution then incorrectly still prints 0, instead of 1. copy_sub Ace $TEST Ace define ATTRIBUTE "" copy_sub test.e $CLUSTER test.e compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output1 define ATTRIBUTE "a: BOOLEAN" copy_sub test.e $CLUSTER test.e compile_melted compile_result ok execute_work NONE exec_output2 execute_result ok compare exec_output2 output2 test_end