rust/src/test/compile-fail/import2.rs
2012-09-05 12:32:05 -07:00

8 lines
138 B
Rust

// error-pattern: unresolved
use baz::zed::bar;
mod baz { }
mod zed {
fn bar() { debug!("bar3"); }
}
fn main(args: ~[str]) { bar(); }