Files
mercury/tests/warnings/warn_non_contiguous_foreign.exp
Zoltan Somogyi 83dc913329 Update the style of the warnings test cases.
tests/warnings/*.m:
    Bring the programming style of these modules up to date,
    except where the problem being tested for seems to be related
    to the old programming style

    In the infinite_recursion test case, add code that we *should*
    warn about, but currently don't.

tests/warnings/*.m:
    Update the expected outputs to account for the changes in line
    numbers, and the fact that the compiler computes the contexts
    of (if C then T else E) if-then-elses differently from (C -> T; E)
    if-then-else (it takes the context of the "then" vs the context
    of the ";").

    Delete arg_order_rearrangment.exp2. It was long unused, but
    deleting it in CVS would not have allowed us to put it back later.
2019-04-20 09:37:37 +10:00

17 lines
1.0 KiB
Plaintext

warn_non_contiguous_foreign.m:055: Warning: non-contiguous clauses for
warn_non_contiguous_foreign.m:055: predicate `p'/2.
warn_non_contiguous_foreign.m:059: Gap in clauses of predicate `p'/2 starts
warn_non_contiguous_foreign.m:059: after this clause.
warn_non_contiguous_foreign.m:075: Gap in clauses of predicate `p'/2 ends
warn_non_contiguous_foreign.m:075: with this clause.
warn_non_contiguous_foreign.m:073: Warning: non-contiguous clauses for
warn_non_contiguous_foreign.m:073: predicate `q'/2.
warn_non_contiguous_foreign.m:057: Gap 1 in clauses of predicate `q'/2 starts
warn_non_contiguous_foreign.m:057: after this clause.
warn_non_contiguous_foreign.m:071: Gap 1 in clauses of predicate `q'/2 ends
warn_non_contiguous_foreign.m:071: with this clause.
warn_non_contiguous_foreign.m:071: Gap 2 in clauses of predicate `q'/2 starts
warn_non_contiguous_foreign.m:071: after this clause.
warn_non_contiguous_foreign.m:077: Gap 2 in clauses of predicate `q'/2 ends
warn_non_contiguous_foreign.m:077: with this clause.