--| 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 redefine-to-rename-refreeze test_description A system has a class B that inherits from class A and redefines a function into an attribute. After the system is frozen, class B is changed so that it renames the function instead of redefining it, but it still includes the attribute that was the redefinition. When the system is refrozen, the resulting C code compiles, but will not link due to an undefined symbol. define INHERIT_SUBCLAUSE "redefine f end" copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_raw a.e $CLUSTER a.e copy_sub b.e $CLUSTER b.e compile_frozen compile_result ok c_compile_work c_compile_result ok define INHERIT_SUBCLAUSE "rename f as old_f end" copy_sub b.e $CLUSTER b.e compile_frozen compile_result ok c_compile_work c_compile_result ok test_end