blob: c02f6060caa710d37017192576484c408437a679 [file] [log] [blame]
//! Checks that functions from different modules are accessible via their fully-qualified paths.
//@ run-pass
mod foo {
pub fn x() -> isize {
return 1;
}
}
mod bar {
pub fn y() -> isize {
return 1;
}
}
pub fn main() {
foo::x();
bar::y();
}