summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-52140/main.rs
blob: aeac4340455bb9eeac5e75c9920e59d015cf1f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:some_crate.rs
// compile-flags:--extern some_crate
// edition:2018

mod foo {
    pub use some_crate;
}

fn main() {
    ::some_crate::hello();
    foo::some_crate::hello();
}