--| 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 multi-constraint-root test_description Using COMPARABLE and NUMMERIC from base as constraints for a formal generic parameter of the root type. So the root type it self is multi constraint. It prints the generating type of each instantiateion and checks all classic compilation modes. --------------------------------------------- define TYPE "INTEGER_32_REF" copy_sub Ace $TEST Ace copy_sub test.e $CLUSTER test.e compile_melted compile_result ok execute_work NONE melted_output1 execute_result ok compare melted_output1 output_integer_32_ref compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE frozen_output1 execute_result ok compare frozen_output1 output_integer_32_ref compile_final compile_result ok c_compile_final c_compile_result ok execute_final NONE final_output1 execute_result ok compare final_output1 output_integer_32_ref --------------------------------------------- define TYPE "INTEGER_32" copy_sub Ace $TEST Ace compile_melted compile_result ok execute_work NONE melted_output2 execute_result ok compare melted_output2 output_integer_32 compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE frozen_output2 execute_result ok compare frozen_output2 output_integer_32 compile_final compile_result ok c_compile_final c_compile_result ok execute_final NONE final_output2 execute_result ok compare final_output2 output_integer_32 --------------------------------------------- define TYPE "REAL_64" copy_sub Ace $TEST Ace compile_melted compile_result ok execute_work NONE melted_output3 execute_result ok compare melted_output3 output_real_64 compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE frozen_output3 execute_result ok compare frozen_output3 output_real_64 compile_final compile_result ok c_compile_final c_compile_result ok execute_final NONE final_output3 execute_result ok compare final_output3 output_real_64 test_end