--| 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-vffd7-once-anchored test_description Violate validity constraint VFFD7 with a class which has a once function with an anchored result type copy_sub Ace $TEST Ace define FEATURE "try: like Current is once end" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VFFD(7) define FEATURE "try: like a is once end" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VFFD(7) define FEATURE "try: INTEGER is once end" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok define FEATURE "try: like Current is once end" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VFFD(7) define FEATURE "try: like Current is external "C" end" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok define FEATURE "try: like a is once end" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VFFD(7) define FEATURE "try: like a is do end" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok define FEATURE "try: like a is once end" copy_sub test.e $CLUSTER test.e compile_melted compile_result validity_error TEST VFFD(7) define FEATURE "try: like a is deferred end" copy_sub test.e $CLUSTER test.e resume_compile compile_result validity_error TEST VCCH(1) define FEATURE "try: STRING is once end" copy_sub test.e $CLUSTER test.e resume_compile compile_result ok test_end