Files
mercury/tests/invalid/errors.err_exp
Simon Taylor 9a23c8e1ac Test cases for `:- use_module'
Estimated hours taken: 0.1

tests/invalid/errors.m
tests/invalid/errors2.m
	Test cases for `:- use_module'
1997-06-29 23:24:38 +00:00

28 lines
2.0 KiB
Plaintext

errors.m:001: Warning: module should start with a `:- module' declaration.
errors.m:060: Error: free type parameter in RHS of type definition: f(_0).
errors.m:061: Error: free type parameter in RHS of type definition: f(_0).
errors.m:000: Warning: module `int' is imported using both
errors.m:000: `:- import_module' and `:- use_module' declarations.
errors.m:051: In definition of type `errors:du_type_which_references_undefined_type'/0:
errors.m:051: error: undefined type `undefined_type'/0.
errors.m:053: In definition of type `errors:eqv_type_which_references_undefined_type'/0:
errors.m:053: error: undefined type `undefined_type'/0.
errors.m:100: In definition of type `errors:needs_qualification'/0:
errors.m:100: error: undefined type `state'/0.
errors.m:055: Error: circular equivalence type `errors:circular_eqv_type'/0.
errors.m:057: Error: circular equivalence type `errors:indirectly_circular_eqv_type_1'/0.
errors.m:058: Error: circular equivalence type `errors:indirectly_circular_eqv_type_2'/0.
errors.m:028: Error: mode declaration for predicate `errors:mode_declaration_without_pred_declaration/0'
errors.m:028: without preceding `pred' declaration.
errors.m:032: Error: mode declaration for predicate `errors:missing_pred_declaration/0'
errors.m:032: without preceding `pred' declaration.
errors.m:049: Error: constructor `errors:a/0' for type `errors:type_with_multiply_defined_ctors/0' multiply defined.
errors.m:049: Error: constructor `errors:f/1' for type `errors:type_with_multiply_defined_ctors/0' multiply defined.
errors.m:038: Error: clause for predicate `errors:clause_without_pred_or_mode_declaration/0'
errors.m:038: without preceding `pred' declaration.
errors.m:075: In clause for predicate `errors:pred_with_unresolved_polymorphism/0':
errors.m:075: warning: variable `Arg' occurs only once in this scope.
errors.m:091: In clause for predicate `errors:pred_with_singleton_vars/1':
errors.m:091: warning: variable `X' occurs only once in this scope.
For more information, try recompiling with `-E'.