mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
11 lines
246 B
Rust
11 lines
246 B
Rust
//@ 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();
|
|
}
|