Files
mercury/tests/general/mode_inference_reorder.exp
Fergus Henderson bce6002b30 Add a test case to test that mode inference supports mode reordering.
Estimated hours taken: 0.25
Branches: main

tests/general/Mmakefile:
tests/general/mode_inference_reorder.m:
tests/general/mode_inference_reorder.exp:
tests/general/mode_inference_reorder.inp:
	Add a test case to test that mode inference supports mode reordering.
	(The test case in question is based on samples/calculator.m,
	with the type and mode declarations commented out, and with
	one of the clauses near the top rewritten so that the compiler
	has to reorder it to get the modes right.)
2001-04-10 01:17:23 +00:00

4 lines
47 B
Plaintext

calculator> 601
calculator> 43
calculator> EOF