--| 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 vsrt-vtct-vcfg-die test_description After initial compilation, a generic parameter is added to root class, then a creation clause. When VSRC error is reported, generics are removed and creation procedure formal argument is changed to nonexistent class G. When VTCT is reported, class G is added, introducing a VCFG error. To correct the VCFG error, the name of a formal generic parameter is changed. When compilation is resumed, the compiler dies instead of reporting a VSRP(2) error. define GENERICS "" define ARRAY_TYPE "STRING" define FORMAL "G" copy_sub Ace $TEST Ace copy_sub test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e compile_melted compile_result ok define GENERICS "[G -> TEST]" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VTUG(2) define GENERICS "[G -> TEST create make end]" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VTUG(2) define GENERICS "" define ARRAY_TYPE "G" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VTCT copy_raw g.e $CLUSTER g.e resume_compile compile_result validity_error TEST1 VCFG(1); define FORMAL "I" define ARRAY_TYPE "INTEGER" delete $CLUSTER g.e copy_sub test1.e $CLUSTER test1.e copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VSRP(2) define ARRAY_TYPE "STRING" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok test_end