mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 12:53:47 +00:00
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.)
4 lines
47 B
Plaintext
4 lines
47 B
Plaintext
calculator> 601
|
|
calculator> 43
|
|
calculator> EOF
|