Files
mercury/tests/invalid/bigtest.m
Fergus Henderson 81f7dfb4c1 Add some more tests.
Estimated hours taken: 0.5

tests/invalid:
	Add some more tests.
	Also add an `Mmake' file.  Currently it just checks that each file
	fails to compile, i.e. that `mc --errorcheck-only' returns a
	non-zero exit status.  It doesn't check the error messages.
1996-05-14 14:31:17 +00:00

19 lines
265 B
Mathematica

:- export_sym list/1, append/3, member.
:- export_pred append/3, member.
:- export_type list/1, bag.
fact.
rule :- fact.
:- incorrect_declaration.
:- pred p(t1).
p(a).
p(X) :- X = b.
:- type t1 ---> a ; b ; c.
:- type t2 ---> c ; d ; e.
:- type t3 = t1 + t2.