mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 05:25:38 +00:00
11 lines
243 B
Rust
11 lines
243 B
Rust
// Non-existent path in `--extern` doesn't result in an error if it's shadowed by `extern crate`.
|
|
|
|
//@ check-pass
|
|
//@ compile-flags: --extern something=/path/to/nowhere
|
|
|
|
extern crate std as something;
|
|
|
|
fn main() {
|
|
something::println!();
|
|
}
|