Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
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
();
}