Files
mercury/tests/invalid/multisoln_func.err_exp
Fergus Henderson e814d7669a Update the expected output for one of the error messages,
Estimated hours taken: 0.25

tests/invalid/multisoln_func.err_exp:
	Update the expected output for one of the error messages,
	since I reformatted the error messages slightly.
1997-08-22 13:58:46 +00:00

20 lines
1.1 KiB
Plaintext

multisoln_func.m:026: Inferred :- func test2 = int.
multisoln_func.m:030: Inferred :- func test3(int) = int.
multisoln_func.m:034: Inferred :- func test3b(int) = int.
multisoln_func.m:013: Error: invalid determinism for function
multisoln_func.m:013: `f(in) = out':
multisoln_func.m:013: the primary mode for a function cannot be `cc_multi'.
multisoln_func.m:019: Error: invalid determinism for function
multisoln_func.m:019: `test = out':
multisoln_func.m:019: the primary mode for a function cannot be `cc_multi'.
multisoln_func.m:026: Error: invalid determinism for function
multisoln_func.m:026: `test2 = out':
multisoln_func.m:026: the primary mode for a function cannot be `multi'.
multisoln_func.m:030: Error: invalid determinism for function
multisoln_func.m:030: `test3(in) = out':
multisoln_func.m:030: the primary mode for a function cannot be `nondet'.
multisoln_func.m:034: Error: invalid determinism for function
multisoln_func.m:034: `test3b(in) = out':
multisoln_func.m:034: the primary mode for a function cannot be `cc_nondet'.
For more information, try recompiling with `-E'.