/src/test/run-pass/import5.rs
http://github.com/jruderman/rust · Rust · 10 lines · 9 code · 1 blank · 0 comment · 0 complexity · 02caf34b82ab3a2a2c01c7a325e7b172 MD5 · raw file
- import foo::bar;
- mod foo {
- import zed::bar;
- export bar;
- mod zed {
- fn bar() { debug!{"foo"}; }
- }
- }
- fn main(args: ~[~str]) { bar(); }