rust/src/test/compile-fail/import.rs
2011-06-14 15:11:48 -07:00

12 lines
156 B
Rust

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