mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +00:00
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.
17 lines
154 B
Mathematica
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).
|