summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern-flag/noprelude-resolves.rs
blob: f69f552b69d8aa8a45bc5e6444361ef95c2665c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
// aux-crate:noprelude:somedep=somedep.rs
// compile-flags: -Zunstable-options
// edition:2018

// `extern crate` can be used to add to prelude.
extern crate somedep;

fn main() {
    somedep::somefun();
}