mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
tests/submodules/*.m:
Rename modules as mentioned above.
Indent nested submodules to make them stand out.
Group foreign_procs by what predicate they implement, not by
their implementation language.
tests/submodules/*.m:
tests/submodules/*.err_exp:
tests/submodules/Mmakefile:
tests/submodules/Mercury.options:
Update all references to the moved modules.
29 lines
669 B
Mathematica
29 lines
669 B
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ts=4 sw=4 et ft=mercury
|
|
%---------------------------------------------------------------------------%
|
|
%
|
|
% This is to test that `:- finalise' declarations are not
|
|
% written out to private interfaces.
|
|
|
|
:- module finalise_parent.
|
|
|
|
:- interface.
|
|
|
|
:- import_module io.
|
|
|
|
:- pred main(io::di, io::uo) is det.
|
|
|
|
:- include_module finalise_parent_helper_1.
|
|
|
|
:- implementation.
|
|
|
|
:- finalise parent_final/2.
|
|
|
|
:- pred parent_final(io::di, io::uo) is det.
|
|
|
|
main(!IO) :-
|
|
io.write_string("This is main/2...\n", !IO).
|
|
|
|
parent_final(!IO) :-
|
|
io.write_string("This is parent_final/2...\n", !IO).
|