Files
mercury/tests/invalid_nodepend/specified.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

25 lines
1.4 KiB
Plaintext

specified.m:141: Error in `:- pragma memo' declaration for predicate
specified.m:141: `specified.ap_lp_fib'/3:
specified.m:141: argument 3: argument tabling method `addr' is not compatible
specified.m:141: with output modes.
specified.m:158: In the second argument of `:- pragma memo' declaration:
specified.m:158: in the first argument of specified:
specified.m:158: error: expected one of `value', `addr', `promise_implied',
specified.m:158: and `output', got `implied'.
specified.m:173: Error in `:- pragma memo' declaration for predicate
specified.m:173: `specified.ap_li_fib'/3:
specified.m:173: not enough argument tabling methods specified.
specified.m:213: Error in `:- pragma memo' declaration for predicate
specified.m:213: `specified.vp_ll_fib'/3:
specified.m:213: argument 1: argument tabling method `output' is not
specified.m:213: compatible with input modes.
specified.m:233: Error in `:- pragma memo' declaration for predicate
specified.m:233: `specified.vv_ll_fib'/3:
specified.m:233: too many argument tabling methods specified.
specified.m:277: In the second argument of `:- pragma memo' declaration:
specified.m:277: error: specified must have one or two arguments.
specified.m:285: In the second argument of `:- pragma memo' declaration:
specified.m:285: in the second argument of specified:
specified.m:285: error: expected either `hidden_arg_value' or
specified.m:285: `hidden_arg_addr', got `voodoo'.