Files
mercury/tests/invalid/undef_mode.err_exp
Zoltan Somogyi 98a99090f5 Fix not-tested-for bugs from some invalid tests.
tests/invalid/undef_inst.m:
tests/invalid/undef_mode.m:
tests/invalid/undef_type.m:
    Besides the references to undefined insts, modes and types,
    these modules also lacked interface and implementation section markers.
    Add those markers.

tests/invalid/undef_inst.err_exp:
tests/invalid/undef_mode.err_exp:
tests/invalid/undef_type.err_exp:
    Do not expect the error messages for the missing markers.
    Continue to expect error messages about the undefined entities,
    but with updated line numbers.

tests/invalid/undef_symbol.m:
tests/invalid/undef_type_mod_qual.m:
    Fix programming style.
2021-07-01 00:18:37 +10:00

3 lines
110 B
Plaintext

undef_mode.m:009: In mode declaration for predicate `x'/1:
undef_mode.m:009: error: undefined mode `foo'/0.