rust/tests/ui/extern-flag/noprelude-and-prelude.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
246 B
Rust
Raw Normal View History

2019-12-05 22:43:53 +00:00
//@ 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();
}