summary refs log tree commit diff
path: root/src/test/run-pass/import3.rs
blob: 3fd1fecd607b5b20ce89383690ee42c4ab921db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

use baz::zed;
use zed::bar;

mod baz {
    #[legacy_exports];
    mod zed {
        #[legacy_exports];
        fn bar() { debug!("bar2"); }
    }
}

fn main() { bar(); }