Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
ui
/
inner-module.rs
blob: 363f753e248729829c5dafb3547c69a99e30ee98 [
file
] [
log
] [
blame
]
// run-pass
mod
inner
{
pub
mod
inner2
{
pub
fn
hello
()
{
println
!(
"hello, modular world"
);
}
}
pub
fn
hello
()
{
inner2
::
hello
();
}
}
pub
fn
main
()
{
inner
::
hello
();
inner
::
inner2
::
hello
();
}