mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +00:00
27 lines
524 B
Mathematica
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.
|