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

8 lines
147 B
Rust

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