blob: bb13816348d789ad6c25b1a9d5e426bc583dcb57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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
}
}
|