--| 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 inherit-create-like-current test_description A routine which prints `(create {like Current}).generating_type' is written in class A and inherited by class B. When the routine is called on an object of type B, it prints "A" instead of "B". If `create {like Current}' is assigned to an attribute of type `like Current', the generating type of this attribute is also incorrect in class B. But if it is assigned to a local instead, the generating type in B is correct. copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_raw test1.e $CLUSTER test1.e copy_raw test2.e $CLUSTER test2.e compile_melted compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output test_end