rust/src/test/compile-fail/import2.rs
Niko Matsakis a856bccdc6 Revert "rustc: Switch to the new resolution pass"
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8.

Branch was burning...many, many unresolved imports.
2012-07-06 20:45:06 -07:00

8 lines
152 B
Rust

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