blob: 1d60c6c22768d7eba3466a025fb39e2345215e1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// run-pass
mod a {
pub mod b {
pub mod a {
pub fn foo() -> isize { return 1; }
}
}
}
mod c {
use a::b::a;
pub fn bar() { assert_eq!(a::foo(), 1); }
}
pub fn main() { c::bar(); }
|