--| 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 validity-vaol2-basic test_description Violate validity constraint VAOL2 with an `old' expression which contains a local entity, Result or another `old' expression copy_sub Ace $TEST Ace define POSTCONDITION "old old true" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VAOL(2) define POSTCONDITION "old (old 1 = 1)" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VAOL(2) define POSTCONDITION "old x = 0" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VEEN(22) define POSTCONDITION "old Current = Current" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_warning TEST "Unused Local" define POSTCONDITION "old Result" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_warning TEST "Unused Local" test_end