Files
mercury/tests/valid/compl_unify_bug.m
Zoltan Somogyi c03b11ca48 Update the style of more test cases.
And updated expected outputs for changed line numbers.
2021-07-27 19:29:21 +10:00

20 lines
507 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
%
% This is a regression test for a bug in dead procedure elimination
% of pseudo-imported preds.
:- module compl_unify_bug.
:- interface.
:- import_module list.
:- pred bug(int::in, list(T)::in) is semidet.
:- implementation.
bug(NextInputArgNum, InputArgs) :-
list.drop(NextInputArgNum, InputArgs, [_ | _]).