--| 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 vgcc-called-vuar1 test_description A creation instruction whose target is a procedure or functionshould be a VGCC violation. The compiler instead reports a VUAR(1) error, but only if the routine takes arguments. copy_sub Ace $TEST Ace define ARGUMENTS "(n: INTEGER)" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VGCC(7) define ARGUMENTS "(n: INTEGER): INTEGER" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VGCC(7) define ARGUMENTS ": INTEGER" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VGCC(7) define ARGUMENTS "" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VGCC(7) test_end