Files
mercury/tests/invalid/errors.err_exp
Zoltan Somogyi 64b3e74266 A script to compare actual and expected error outputs from the
Estimated hours taken: 0.5

runtests:
	A script to compare actual and expected error outputs from the
	compiler.

Mmake:
	Don't test types.m, since we don't pass it, and lambda_type_bad,
	since the tested code is no longer invalid.

*.err_exp:
	The expected error outputs.
1996-11-04 07:15:18 +00:00

24 lines
1.8 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: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: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 `a/0' for type `errors:type_with_multiply_defined_ctors/0' multiply defined.
errors.m:049: Error: constructor `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'.