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

// Having a flag with `noprelude` and one without, will add to the prelude.

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