--| 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 finalize-redef-external-macro test_description An external routine implemented as a C macro is redefined in two descendants. For a call to the routine which cannot be statically bound, incorrect C code is generated if the system is finalized (the `()' after the function call is omitted). copy_sub Ace $TEST Ace define_file INCLUDE_FILE $CLUSTER weasel.h copy_raw test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e copy_sub test2.e $CLUSTER test2.e copy_sub parent.e $CLUSTER parent.e copy_raw weasel.h $CLUSTER weasel.h compile_final compile_result validity_warning TEST "Unused Local" c_compile_final c_compile_result ok execute_final NONE exec_output1 execute_result ok compare exec_output1 output test_end