Files
mercury/tests/valid_seq/intermod_nested2.m
2020-11-15 08:02:47 +11:00

27 lines
524 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
:- module intermod_nested2.
:- interface.
:- module intermod_nested2__bar.
:- interface.
:- type bar
---> bar.
:- end_module intermod_nested2__bar.
:- implementation.
:- import_module int.
% Check that `exported_to_submodules' functions are declared
% in the `.opt' file.
:- func foo = int.
foo = 1.