Files
mercury/tests/invalid/test_may_duplicate.err_exp3
Zoltan Somogyi 99c379d651 Fix some more tests/invalid failures.
tests/invalid/illtyped_compare.err_exp2:
    Add an expected output for target languages for which
    unification pretests cast the input arguments to c_pointers,
    not ints.

tests/invalid/pragma_c_code_dup_var.err_exp3:
tests/invalid/pragma_c_code_no_det.err_exp3:
tests/invalid/test_may_duplicate.err_exp3:
tests/invalid/test_may_export_body.err_exp3:
tests/invalid/try_detism.err_exp2:
tests/warnings/foreign_singleton.err_exp3:
    Update these expected output files to expect color in diagnostics,
    and (in some cases) updated wording as well.

tests/invalid_make_int/unbalanced.{m,int_err_exp}:
    Move the tests/invalid_nodepend/unbalanced test case here,
    since the diagnostics we are testing are reported when making
    interface files.

tests/invalid_make_int/Mmakefile:
tests/invalid_nodepend/Mmakefile:
    Conform to the move.

tests/warnings/Mmakefile:
    Disable the unused_args_analysis test case in non-C grades,
    because the test setup works only for C.
2025-09-14 14:28:42 +10:00

551 B

test_may_duplicate.m:039: Error: the `may_duplicate' attribute on the
test_may_duplicate.m:039: foreign_proc is not compatible with the
test_may_duplicate.m:039: `:- pragma no_inline' declaration on the predicate.
test_may_duplicate.m:061: Error: the `may_not_duplicate' attribute on the
test_may_duplicate.m:061: foreign_proc is not compatible with the
test_may_duplicate.m:061: `:- pragma inline' declaration on the predicate.