rust/src/test/compile-fail/import2.rs
2011-09-02 22:11:42 -07:00

8 lines
147 B
Rust

// error-pattern: unresolved modulename
import baz::zed::bar;
mod baz { }
mod zed {
fn bar() { log "bar3"; }
}
fn main(args: [str]) { bar(); }