Files
mercury/tests/invalid/loopcheck.err_exp
Zoltan Somogyi 3dc4babb24 Update the style of more test cases.
And update expected output files for changes in line numbers.
2021-07-27 13:29:46 +10:00

14 lines
783 B
Plaintext

loopcheck.m:011: In `main'(di, uo):
loopcheck.m:011: warning: determinism declaration could be tighter.
loopcheck.m:011: Declared `det', inferred `erroneous'.
loopcheck.m:020: Error: `:- pragma loop_check' declaration not allowed for
loopcheck.m:020: procedure with determinism `erroneous'.
loopcheck.m:020: The pragma requested is only valid for the following
loopcheck.m:020: determinisms: cc_multi, cc_nondet, det, multi, nondet and
loopcheck.m:020: semidet.
loopcheck.m:023: Warning: recursive call to predicate `loop'/1 will lead to
loopcheck.m:023: infinite recursion.
loopcheck.m:023: If this recursive call is executed, the procedure will call
loopcheck.m:023: itself with exactly the same input arguments, leading to
loopcheck.m:023: infinite recursion.