Files
mercury/tests/invalid/det_errors.m
Fergus Henderson b7ce625178 Rename *.nl as *.m.
tests/invalid:
	Rename *.nl as *.m.
1995-07-11 13:12:09 +00:00

20 lines
303 B
Mathematica

:- module det_errors.
:- interface.
:- pred p1(int::in) is det.
:- pred p2(int::in) is det.
:- pred p3(int::in) is det.
:- pred p4(int::in) is det.
:- pred p5(int::in) is det.
:- implementation.
:- import_module int.
p1(42).
p2(X) :- X = 42.
p3(X) :- X is 42.
p4(X) :- X is 21 + 21.
p5(_) :- true.