--| 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 bool-string-to-bit-ref test_description After initial compilation, a BOOL_STRING is changed to a BIT_REF. The compiler correctly detects and reports a VEEN error. But when the offending line is deleted and compilation is resumed, the compiler dies during pass 3 on the class with the message "object allocation: No more memory". copy_sub Ace $TEST Ace define BITMAP "bitmap: BOOL_STRING" define TEST1_MAKE_BODY "!!bitmap.make (8)" define TEST2_MAKE_BODY "!!bitmap.make (8)" copy_raw test.e $CLUSTER test.e copy_sub parent.e $CLUSTER parent.e copy_sub test1.e $CLUSTER test1.e copy_sub test2.e $CLUSTER test2.e compile_melted compile_result ok define BITMAP "bitmap: BIT_REF" define TEST1_MAKE_BODY "bitmap := new_bitmap" define TEST2_MAKE_BODY "!!bitmap.make (8); bitmap := new_bitmap" copy_sub parent.e $CLUSTER parent.e copy_sub test1.e $CLUSTER test1.e copy_sub test2.e $CLUSTER test2.e compile_melted compile_result validity_error TEST2 VEEN define TEST2_MAKE_BODY "bitmap := new_bitmap" copy_sub test2.e $CLUSTER test2.e resume_compile compile_result ok test_end