--| 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 invalid-local-entity-assign test_description An assignment to an anchored local entity becomes invalid when the type of the anchor is changed copy_sub Ace $TEST Ace define ANCHOR_DECL "b: STRING" copy_sub test.e $CLUSTER test.e compile_melted compile_result ok define ANCHOR_DECL "b: INTEGER" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VJAR VUAR(2) define ANCHOR_DECL "b: STRING" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok copy_sub test_rev1.e $CLUSTER test.e compile_melted compile_result ok define ANCHOR_DECL "b: INTEGER" copy_sub test_rev1.e $CLUSTER test.e compile_melted compile_result validity_error TEST VJAR VUAR(2) test_end