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

16 lines
268 B
Mathematica

:- module unreachable_code.
:- interface.
:- type foo ---> foo.
:- pred p(foo::in, foo::in) is semidet.
:- implementation.
:- import_module require.
p(X, Y) :-
error("err"),
X = Y.
%-----------------------------------------------------------------------------%