Files
mercury/tests/invalid_nodepend/func_errors.err_exp
Zoltan Somogyi 6413b4fb08 Create invalid_nodepend and invalid_onlydepend.
tests/invalid_onlydepend:
    Move the one test case in tests/invalid for which we want to check
    the error messages generated during the generation of dependencies
    to this new test directory.

tests/invalid_nodepend:
    Move all test cases in tests/invalid which get errors during the
    generation of dependencies but for which we want to check the error
    messages generated during normal compilation to this new test directory.

tests/invalid_nodepend/Mmakefile:
tests/invalid_nodepend/Mercury.options:
tests/invalid_onlydepend/Mmakefile:
tests/invalid_onlydepend/Mercury.options:
    Versions of the same files in tests/invalid, but containing only
    the entries relevant to the moved test cases.

tests/invalid/Mmakefile:
tests/invalid/Mercury.options:
    Delete the entries that refer to the moved test cases.

tests/README:
    Document the two new test directories.

tools/bootcheck:
    Add invalid_onlydepend and invalid_nodepend to the list of
    test directories.
2021-07-28 00:59:04 +10:00

12 lines
719 B
Plaintext

func_errors.m:011: Error: some but not all arguments have modes.
func_errors.m:011: The arguments without modes are the second and the return
func_errors.m:011: value.
func_errors.m:012: Error: some but not all arguments have modes.
func_errors.m:012: The argument without a mode is the return value.
func_errors.m:013: Error: some but not all arguments have modes.
func_errors.m:013: The arguments without modes are the first and second.
func_errors.m:017: Error: predicate `p'/2 declares a determinism without
func_errors.m:017: declaring the modes of its arguments.
func_errors.m:019: Error: some but not all arguments have modes.
func_errors.m:019: The arguments without modes are the second and third.