Files
mercury/tests/valid/followcode_det_problem.m
Fergus Henderson fa77e70a46 General cleanup of the test suite directories.
tests/valid/*:
	Renamed `*.nl' as `*.m'.
	Added a few new test cases.
	Removed a couple of duplicate test cases.
	Fixed up the Mmake file so that `mmake check' now works.
1995-11-14 08:03:46 +00:00

17 lines
154 B
Mathematica

:- module followcode_det_problem.
:- pred p(int::out) is semidet.
p(X) :-
Z = 4,
(
Z = 3
;
Z = 4
),
q(X).
:- pred q(int::out) is det.
q(42).