--| 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 switch-generics-tricky-vtcg test_description After initial compilation, formal generics in an inheritance clause are switched, causing a class to no longer conform to the generic constraint. The class is used as an actual generic in a generic constraint. The compiler does not detect the newly introduced VTCG error in the declaration of the TEST1 constraint. define PARENT "HASH_TABLE [G, H]" copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e copy_raw test2.e $CLUSTER test2.e copy_raw test3.e $CLUSTER test3.e copy_raw test4.e $CLUSTER test4.e copy_sub test5.e $CLUSTER test5.e compile_melted compile_result ok define PARENT "HASH_TABLE [H, G]" copy_sub test5.e $CLUSTER test5.e compile_melted compile_result validity_error TEST1 VTCG test_end