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

34 lines
1.9 KiB
Plaintext

null_char.m:017: Error: clause for predicate `int'/0
null_char.m:017: without corresponding `:- pred' declaration.
null_char.m:017: Inferred :- pred int.
null_char.m:017: Syntax error: null character is illegal in strings and names.
null_char.m:019: In clause head:
null_char.m:019: error: expected a symbol name, got `1'.
null_char.m:019: Syntax error: null character is illegal in strings and names.
null_char.m:021: Error: no clauses for predicate `wrong2'/1.
null_char.m:023: Syntax error at token `)': unexpected token at start of
null_char.m:023: (sub)term.
null_char.m:023: Syntax error: null character is illegal in strings and names.
null_char.m:025: Error: no clauses for predicate `wrong3'/1.
null_char.m:027: Syntax error at token `. ': unexpected token at start of
null_char.m:027: (sub)term.
null_char.m:027: Syntax error: null character is illegal in strings and names.
null_char.m:029: Error: no clauses for predicate `wrong4'/1.
null_char.m:031: Syntax error at token `)': unexpected token at start of
null_char.m:031: (sub)term.
null_char.m:031: Syntax error: null character is illegal in strings and names.
null_char.m:033: Syntax error at token `. ': unexpected token at start of
null_char.m:033: (sub)term.
null_char.m:033: Syntax error: null character is illegal in strings and names.
null_char.m:035: Syntax error at token `. ': unexpected token at start of
null_char.m:035: (sub)term.
null_char.m:035: Syntax error: null character is illegal in strings and names.
null_char.m:039: Error: no clauses for predicate `wrong7'/1.
null_char.m:041: Syntax error at token `)': unexpected token at start of
null_char.m:041: (sub)term.
null_char.m:041: Syntax error: null character is illegal in strings and names.
null_char.m:043: Error: no clauses for predicate `wrong8'/1.
null_char.m:045: Syntax error at token `)': unexpected token at start of
null_char.m:045: (sub)term.
null_char.m:045: Syntax error: null character is illegal in strings and names.