summary refs log tree commit diff
path: root/src/test/compile-fail/import2.rs
blob: 7b1f258a9dbf5b772bd46a5b3849ae98160fd48b (plain)
1
2
3
4
5
6
7
8
9
// error-pattern: unresolved
use baz::zed::bar;
mod baz {
    #[legacy_exports]; }
mod zed {
    #[legacy_exports];
    fn bar() { debug!("bar3"); }
}
fn main(args: ~[str]) { bar(); }