Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
ddb81ce68047d6383a789c8da514e443faea8349
/
.
/
tests
/
ui
/
inner-module.rs
blob: 111f2cab857f23deb79c2f16c2d9d18db1a153e0 [
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
();
}