--| 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-remove-root-generic test_description After initial compilation, a constrained generic parameter [G -> STRING] is added to the root class. When the compiler detects the VSRT(4) error, the generic parameter is removed. The compiler then dies. copy_sub Ace $TEST Ace define GENERICS "" copy_sub test.e $CLUSTER test.e compile_melted compile_result ok define GENERICS "[G]" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error NONE VSRT(4) define GENERICS "" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok define GENERICS "[G -> STRING]" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error NONE VSRT(4) define GENERICS "" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok test_end