:- module nested_module_r.

:- interface.

:- import_module io.

:- pred main(io__state::di, io__state::uo) is det.

:- implementation.

:- import_module nested_module_r__sub_nested_module, nested_module_r_2.

:- type t
	--->	c(int).

main -->
	main_2.


:- module nested_module_r__sub_nested_module.

:- interface.

:- import_module io.

:- pred main_2(io__state::di, io__state::uo) is det.

:- implementation.

:- import_module nested_module_r_2.

main_2 -->
	output(c(1)).

:- pred output(t::in, io__state::di, io__state::uo) is det.
	
output(X) --> io__write(X), io__nl.

:- end_module nested_module_r__sub_nested_module.
