--| 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 	 chg-indexing-tag-to-attribute
test_description After initial compilation, the tag in an indexing clause is changed from "weasel" to "attribute_field".  This introduces a VEEN error but the compiler does not detect it.

define TAG "weasel"
copy_sub 	Ace $TEST Ace
copy_sub 	test.e $CLUSTER test.e
copy_raw 	test2.e $CLUSTER test2.e
compile_melted
compile_result 	ok

define TAG "metadata"
copy_sub 	test.e $CLUSTER test.e
compile_melted
if DOTNET compile_result 	validity_error TEST VEEN
if not DOTNET compile_result 	ok

test_end