13 lines
241 B
Rust
13 lines
241 B
Rust
// compile-flags: -Zsave-analysis
|
|
// needs-asm-support
|
|
// Also test for #72960
|
|
|
|
use std::arch::asm;
|
|
|
|
fn main() {
|
|
unsafe {
|
|
asm!("", in("invalid") "".len());
|
|
//~^ ERROR: invalid register `invalid`: unknown register
|
|
}
|
|
}
|