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