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

58 lines
3.5 KiB
Plaintext

invalid_float_literal.m:012: Error: no clauses for function `foo1'/0.
invalid_float_literal.m:013: Error: no clauses for function `foo2'/0.
invalid_float_literal.m:014: Error: no clauses for function `foo3'/0.
invalid_float_literal.m:015: Error: no clauses for function `foo4'/0.
invalid_float_literal.m:016: Error: no clauses for function `foo5'/0.
invalid_float_literal.m:017: Error: no clauses for function `foo6'/0.
invalid_float_literal.m:018: Error: no clauses for function `foo7'/0.
invalid_float_literal.m:019: Error: no clauses for function `foo8'/0.
invalid_float_literal.m:020: Error: no clauses for function `foo9'/0.
invalid_float_literal.m:021: Error: no clauses for function `foo10'/0.
invalid_float_literal.m:022: Error: no clauses for function `foo11'/0.
invalid_float_literal.m:023: Error: no clauses for function `foo12'/0.
invalid_float_literal.m:027: Syntax error at token `. ': unexpected token at
invalid_float_literal.m:027: start of (sub)term.
invalid_float_literal.m:027: Syntax error: fractional part of float terminated
invalid_float_literal.m:027: by underscore.
invalid_float_literal.m:029: Syntax error at token `. ': unexpected token at
invalid_float_literal.m:029: start of (sub)term.
invalid_float_literal.m:029: Syntax error: unterminated exponent in float
invalid_float_literal.m:029: literal.
invalid_float_literal.m:031: In clause head:
invalid_float_literal.m:031: error: expected a symbol name, got `12'.
invalid_float_literal.m:031: Syntax error: underscore before exponent.
invalid_float_literal.m:033: In clause head:
invalid_float_literal.m:033: error: expected a symbol name, got `_12'.
invalid_float_literal.m:033: Syntax error: unterminated exponent in float
invalid_float_literal.m:033: literal.
invalid_float_literal.m:035: In clause head:
invalid_float_literal.m:035: error: expected a symbol name, got `_123'.
invalid_float_literal.m:035: Syntax error: unterminated decimal literal.
invalid_float_literal.m:037: In clause head:
invalid_float_literal.m:037: error: expected a symbol name, got `123'.
invalid_float_literal.m:037: Syntax error: underscore following decimal point.
invalid_float_literal.m:039: In clause head:
invalid_float_literal.m:039: error: expected a symbol name, got `123'.
invalid_float_literal.m:039: Syntax error: unterminated decimal literal.
invalid_float_literal.m:041: Error: clause for predicate `-'/2
invalid_float_literal.m:041: without corresponding `:- pred' declaration.
invalid_float_literal.m:041: Inferred :- pred -(T1, int).
invalid_float_literal.m:041: Syntax error: unterminated exponent in float
invalid_float_literal.m:041: literal.
invalid_float_literal.m:043: Error: clause for predicate `+'/2
invalid_float_literal.m:043: without corresponding `:- pred' declaration.
invalid_float_literal.m:043: Inferred :- pred +(T1, int).
invalid_float_literal.m:043: Syntax error: unterminated exponent in float
invalid_float_literal.m:043: literal.
invalid_float_literal.m:045: In clause head:
invalid_float_literal.m:045: error: expected a symbol name, got `12'.
invalid_float_literal.m:045: Syntax error: underscore before exponent.
invalid_float_literal.m:047: In clause head:
invalid_float_literal.m:047: error: expected a symbol name, got `_12'.
invalid_float_literal.m:047: Syntax error: unterminated exponent in float
invalid_float_literal.m:047: literal.
invalid_float_literal.m:049: In clause head:
invalid_float_literal.m:049: error: expected a symbol name, got `_12'.
invalid_float_literal.m:049: Syntax error: unterminated exponent in float
invalid_float_literal.m:049: literal.