Files
mercury/tests/valid/det_condition.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

12 lines
227 B
Mathematica

:- module det_condition.
% Check that we get determinism analysis and code generation
% right for code which has an if-then-else with a
% deterministic condition.
:- pred p is det.
p :-
if true then true else not true.