--| 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 vtat1-called-vtcg test_description After initial compilation, an attribute used as an anchor in a type serving as actual generic parameter is changed to a procedure. When the system is recompiled, the compiler incorrectly reports a VTCG error (which is impossible since the involved generic class has no generic constraints) instead of a VTAT(1) error. copy_sub Ace $TEST Ace define ANCHOR "weasel: STRING" copy_sub test.e $CLUSTER test.e copy_raw test1.e $CLUSTER test1.e compile_melted compile_result ok define ANCHOR "weasel is do end" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VTAT(1) test_end