mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
12 lines
224 B
Rust
12 lines
224 B
Rust
//@ check-pass
|
|
//@ aux-crate:noprelude:somedep=somedep.rs
|
|
//@ compile-flags: -Zunstable-options
|
|
//@ edition:2018
|
|
|
|
// `extern crate` can be used to add to prelude.
|
|
extern crate somedep;
|
|
|
|
fn main() {
|
|
somedep::somefun();
|
|
}
|