--| 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 create-generic-conform-double test_description Freezing or finalizing a system with a generic class `TESt2 [G -> DOUBLE create default_create end]' whose creation procedure creates an attribute of type G generates C code that won't compile. Melted code dies with an "illegal cast operation" panic. copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_raw test2.e $CLUSTER test2.e compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output compile_final compile_result ok c_compile_final c_compile_result ok execute_final NONE exec_output2 execute_result ok compare exec_output1 output cleanup_compile compile_melted execute_work NONE exec_output3 execute_result ok compare exec_output3 output test_end