mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
10 lines
242 B
Rust
10 lines
242 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();
|
|
}
|