Files
mercury/tests/invalid/multimode_missing_impure.err_exp
Fergus Henderson ce7a41620d Add some test cases for my recent change to add support
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.
2001-05-16 17:28:43 +00:00

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'.