--| 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 add-then-remove-vlec-via-generic test_description After initial compilation an actual generic is changed from TEST2 to TEST2 [DOUBLE], which introduces a VLEC error. When the compiler detects the error, the actual generic is changed back to its original value but the compiler still reports a VLEC error. define ACTUAL_GENERIC "DOUBLE" copy_sub Ace $TEST Ace copy_sub test.e $CLUSTER test.e copy_raw test2.e $CLUSTER test2.e compile_melted compile_result ok define ACTUAL_GENERIC "TEST2 [DOUBLE]" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VLEC define ACTUAL_GENERIC "DOUBLE" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok -- We now try without a precompiled library cleanup_compile define ACTUAL_GENERIC "DOUBLE" copy_sub Ace_without_precomp $TEST Ace copy_sub test.e $CLUSTER test.e copy_raw test2.e $CLUSTER test2.e compile_melted compile_result ok define ACTUAL_GENERIC "TEST2 [DOUBLE]" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VLEC define ACTUAL_GENERIC "DOUBLE" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok test_end