about summary refs log tree commit diff
path: root/tests/ui/extern-flag/noprelude-and-prelude.rs
blob: e4aff216c6b97e8bfce222ba17e7b0c6a563b7c7 (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();
}