rust/tests/ui/extern-flag/invalid-crate-name.rs

5 lines
139 B
Rust

//@ compile-flags: --extern=?#1%$
//@ error-pattern: crate name `?#1%$` passed to `--extern` is not a valid ASCII identifier
fn main() {}