--| 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 vomb2-called-vomb5 test_description After initial compilation a constant attribute in an ancestor class is changed from a unique constant to a constant integer, thereby introducing a VOMB(5) error. When the compiler detects the error, the constant integer is changed to an integer function with no arguments. copy_sub Ace $TEST Ace define FEATURE "const2: INTEGER is unique" copy_raw test.e $CLUSTER test.e copy_raw test1.e $CLUSTER test1.e copy_sub test2.e $CLUSTER test2.e compile_melted compile_result ok define FEATURE "const2: INTEGER is 5" copy_sub test2.e $CLUSTER test2.e compile_melted compile_result validity_error TEST VOMB(5) define FEATURE "const2: INTEGER is do end" copy_sub test2.e $CLUSTER test2.e resume_compile compile_result validity_error TEST VOMB(2) test_end