--| Copyright (c) 1993-2013 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-expanded-to-attribute test_description A routine redefines an inherited routine that returns an expanded type and replaces it with an attribute. It also includes references to the attribute. The code compiles fine, but dies with a segmentation fault or "feature applied to void reference" if it was frozen. Melted code works fine. This appears to be a code generation bug. copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_raw test1.e $CLUSTER test1.e copy_raw test2.e $CLUSTER test2.e compile_melted compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output cleanup_compile compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output2 execute_result ok compare exec_output2 output test_end