--| 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 vsta-sneak test_description After initial compilation, an integer constant attribute is changed to a function with no arguments. The compiler does not detect the newly introduced VSTA error (reference to a static feature which is not a constant or external). define BODY "13" copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e compile_melted compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output define BODY "do end" copy_sub test1.e $CLUSTER test1.e compile_melted compile_result validity_error TEST VUNO:13 define BODY "13" copy_sub test1.e $CLUSTER test1.e resume_compile compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output test_end