Files
mercury/tests/valid/compl_unify_bug.m
Simon Taylor 6e4035c8df Fixed a bug reported by David Overton which caused an abort in the
Estimated hours taken: 1

Fixed a bug reported by David Overton which caused an abort in the
second pass of simplification.

compiler/dead_proc_elim.m
	Remove unused pseudo_imported unification preds
	(they can be inlined away).

compiler/hlds_out.m
	Invert the test for printing pseudo_imported unification preds
	in hlds_dumps.

tests/valid/Mmake
tests/valid/compl_unify_bug.m
	Add a regression test.
1997-02-16 06:42:37 +00:00

16 lines
314 B
Mathematica

% This is a regression test for a bug in dead procedure elimination
% of pseudo-imported preds.
:- module compl_unify_bug.
:- interface.
:- pred bug(int::in, list(T)::in) is semidet.
:- implementation.
:- import_module list.
bug(NextInputArgNum, InputArgs) :-
list__drop(NextInputArgNum, InputArgs, [_|_]).