--| 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 vxrc-sneak test_description A sequence of changes tricks the compiler into accepting a class with a VXRC error. If the system is compiled from scratch the compiler detects the error. define REDEFINITION "" define FEATURE "make (args: ARRAY [STRING]) is external "C" end" define FEATURE1 "make2 is do end" copy_sub Ace $TEST Ace copy_sub test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e compile_melted compile_result ok define FEATURE "make (args: ARRAY [STRING]) is once precursor end" define FEATURE1 "make (args: ARRAY [ANY]) is deferred end" copy_sub test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e compile_melted compile_result validity_error TEST VDPR(3) define REDEFINITION "redefine make end" define FEATURE1 "make2 (args: ARRAY [ANY]) is external "C" rescue end" copy_sub test.e $CLUSTER test.e copy_sub test1.e $CLUSTER test1.e resume_compile compile_result validity_error TEST VDRS(1) define REDEFINITION "" define FEATURE "make (args: ARRAY [STRING]) is once end" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST1 VXRC test_end