--| 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 veen2-called-veen22 test_description When a class with a postcondition containing the assertion `(old (old Result)' is compiled, the compiler correctly reports a syntax error. But when the extra parenthesis is removed, the compiler issues a VEEN(22) error (local entity may not be used in this context) naming the entity `y'. define CLUSTER_NAME "cluster1" copy_sub Ace $TEST Ace define SYNTAX_ERROR "(" copy_sub test.e $CLUSTER test.e compile_melted compile_result syntax_error TEST 19 define SYNTAX_ERROR "" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VEEN(2) test_end