--| 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 visible-under-same-name
test_description An Ace with a Visible clause which makes two classes visible to external software under the same name is accepted by the compiler, but should not be. Similarly, an Ace with a Visible clause which makes two features in a class visible under the same name should not be accepted.
define_directory CLUSTER2 $TEST cluster2
define VISIBLE_CLAUSE ""
define VISIBLE_CLAUSE2 ""
copy_sub Ace $TEST Ace
copy_raw test.e $CLUSTER test.e
copy_raw test1.e $CLUSTER test1.e
copy_raw test2.e $CLUSTER2 test2.e
compile_melted
compile_result validity_error NONE VD??
define VISIBLE_CLAUSE ""
define VISIBLE_CLAUSE2 ""
copy_sub Ace $TEST Ace
resume_compile
compile_result validity_error NONE VD??
define VISIBLE_CLAUSE ""
define VISIBLE_CLAUSE2 ""
copy_sub Ace $TEST Ace
resume_compile
compile_result validity_error NONE VD??
test_end