rust/src/test/run-pass/import5.rs

11 lines
155 B
Rust
Raw Normal View History

import foo::bar;
2011-01-13 18:02:54 -05:00
mod foo {
2011-07-27 14:19:39 +02:00
import zed::bar;
export bar;
mod zed {
fn bar() { #debug("foo"); }
2011-01-13 18:02:54 -05:00
}
}
2011-09-02 15:34:58 -07:00
fn main(args: [str]) { bar(); }