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

36 lines
2.1 KiB
Plaintext

errors1.m:008: Warning: the interface of module `errors1' does not export
errors1.m:008: anything.
errors1.m:012: Error: module `errors1' should start with either an
errors1.m:012: `:- interface' or an `:- implementation' declaration.
errors1.m:012: The following assumes that the missing declaration is an
errors1.m:012: `:- implementation' declaration.
errors1.m:030: Error: `:- mode' declaration for predicate
errors1.m:030: `mode_declaration_without_pred_declaration'/0
errors1.m:030: without corresponding `:- pred' declaration.
errors1.m:034: Error: `:- mode' declaration for predicate
errors1.m:034: `missing_pred_declaration'/0
errors1.m:034: without corresponding `:- pred' declaration.
errors1.m:040: Error: clause for predicate
errors1.m:040: `clause_without_pred_or_mode_declaration'/0
errors1.m:040: without corresponding `:- pred' declaration.
errors1.m:053: Error: constructor `errors1.a/0' for type
errors1.m:053: `errors1.type_with_multiply_defined_ctors/0' multiply defined.
errors1.m:055: Error: constructor `errors1.f/1' for type
errors1.m:055: `errors1.type_with_multiply_defined_ctors/0' multiply defined.
errors1.m:058: In the first argument of function symbol `f' of the type
errors1.m:058: `du_type_which_references_undefined_type'/0:
errors1.m:058: error: undefined type `undefined_type'/0.
errors1.m:060: In definition of type
errors1.m:060: `eqv_type_which_references_undefined_type'/0:
errors1.m:060: error: undefined type `undefined_type'/0.
errors1.m:062: Error: circular equivalence type `errors1.circular_eqv_type'/0.
errors1.m:064: Error: circular equivalence type
errors1.m:064: `errors1.indirectly_circular_eqv_type_1'/0.
errors1.m:065: Error: circular equivalence type
errors1.m:065: `errors1.indirectly_circular_eqv_type_2'/0.
errors1.m:079: In clause for predicate `pred_with_unresolved_polymorphism'/0:
errors1.m:079: warning: variable `Arg' occurs only once in this scope.
errors1.m:095: In clause for predicate `pred_with_singleton_vars'/1:
errors1.m:095: warning: variable `X' occurs only once in this scope.
For more information, recompile with `-E'.