mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 19:03:45 +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.
14 lines
136 B
Mathematica
14 lines
136 B
Mathematica
:- module implied_mode.
|
|
|
|
:- pred p(int::out, int::out) is det.
|
|
|
|
p(5, 6).
|
|
|
|
|
|
:- pred q(int::out) is semidet.
|
|
|
|
q(X) :-
|
|
Y = 2,
|
|
p(X, Y).
|
|
|