--| 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 cast-external-add-white-space test_description A class has an external function which specifies a cast of the return type (i.e., `external "C :EIF_INTEGER"'). After initial compilation where the system is frozen, system execution works but produces the wrong result. Then some white space is added inside the Language_name portion of the external, leaving its semantics unchanged and the system is melted. System execution then ends with a segmentation fault. copy_sub Ace $TEST Ace define EXTERNAL_STRING "C :EIF_INTEGER | %"eif_main.h%"" copy_sub test.e $CLUSTER test.e copy_raw test.h $CLUSTER test.h compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output define EXTERNAL_STRING "C :EIF_INTEGER | %"eif_main.h%"" copy_sub test.e $CLUSTER test.e compile_melted compile_result ok execute_work NONE exec_output2 execute_result ok compare exec_output2 output test_end