Files
mercury/tests/invalid_submodules/import_in_parent.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

32 lines
556 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
:- module import_in_parent.
:- interface.
:- import_module bool.
:- type foo.
:- implementation.
:- type foo
---> foo.
:- module import_in_parent.sub.
:- interface.
:- pred foo(bool::in) is semidet.
:- implementation.
foo(X) :-
bool.foo(X).
:- end_module import_in_parent.sub.
:- end_module import_in_parent.