summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/glob-cycles.rs
blob: f354cc885d00d3c2091dbb3b0579d73a2e42ce65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// check-pass

mod foo {
    pub use bar::*;
    pub use main as f;
}

mod bar {
    pub use foo::*;
}

pub use foo::*;
pub use baz::*;
mod baz {
    pub use super::*;
}

pub fn main() {}