--| 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 	 invalid-expanded-generic
test_description After initial compilation with an invalid type `expanded STRING' as an actual generic parameter, the type is changed to STRING. Finalization completes normally, but the resulting C code will not compile.

copy_sub 	Ace $TEST Ace
define		EXPANDED "expanded"
copy_sub 	test.e $CLUSTER test.e
copy_raw 	test1.e $CLUSTER test1.e
compile_final
compile_result 	validity_error TEST VTEC(2)

define		EXPANDED ""
copy_sub 	test.e $CLUSTER test.e
resume_compile
compile_result 	ok

c_compile_final
c_compile_result ok

test_end