--| Copyright (c) 1993-2020 University of Southern California, Eiffel Software 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 remove-syntax-warning-yes test_description A system whose Ace specifies `syntax_warning (yes)' is compiled and the compiler issues warning about obsolete syntax. Then this clause is removed from the Ace file and a new use of obsolete syntax is added. The compiler warns about the new use of obsolete syntax, but it should not. define SYNTAX_WARNING "true" define LOCALS "s: STRING" define INSTRUCTIONS "s ?= Current" copy_sub Ace $TEST Ace copy_sub test.e $CLUSTER test.e compile_melted compile_result syntax_warning TEST 17 define SYNTAX_WARNING "false" define LOCALS "s, t: STRING" define INSTRUCTIONS "s ?= t" copy_sub Ace $TEST Ace copy_sub test.e $CLUSTER test.e compile_melted compile_result ok test_end