mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-25 14:24:11 +00:00
Estimated hours taken: 2 Branches: main tests/hard_coded/Mmakefile: tests/hard_coded/multimode.m: tests/hard_coded/multimode.exp: tests/invalid/Mmakefile: tests/invalid/multimode_missing_impure.m: tests/invalid/multimode_missing_impure.err_exp: tests/invalid/multimode_dcg.m: tests/invalid/multimode_dcg.err_exp: tests/invalid/multimode_syntax.m: tests/invalid/multimode_syntax.err_exp: Add some test cases for my recent change to add support for using different clauses for different modes.
8 lines
511 B
Plaintext
8 lines
511 B
Plaintext
multimode_missing_impure.m:025: In predicate `multimode_missing_impure:test1/1':
|
|
multimode_missing_impure.m:025: purity error: predicate is impure.
|
|
multimode_missing_impure.m:025: It must be declared `impure' or promised pure.
|
|
multimode_missing_impure.m:034: In predicate `multimode_missing_impure:test2/2':
|
|
multimode_missing_impure.m:034: purity error: predicate is impure.
|
|
multimode_missing_impure.m:034: It must be declared `impure' or promised pure.
|
|
For more information, try recompiling with `-E'.
|