Files
mercury/tests/invalid/assert_in_interface.m
Peter Ross 7e76fb58cc Change from using :- assertion' to :- promise'.
Estimated hours taken: 1

Change from using `:- assertion' to `:- promise'.

invalid/assert_in_interface.err_exp:
invalid/assert_in_interface.m:
invalid/tricky_assert1.err_exp:
invalid/tricky_assert1.m:
valid/tricky_assert2.m:
    Make the required changes.
1999-11-12 09:31:54 +00:00

9 lines
238 B
Mathematica

% assertion in the interface refers to a predicate which is
% imported in the implementation of the module.
:- module assert_in_interface.
:- interface.
:- promise all [X, Y] list__last(X, Y).
:- implementation.
:- import_module list.