rust/src/test/compile-fail/import2.rs
2011-05-14 21:05:22 -04:00

13 lines
155 B
Rust

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