asm!("{}", inout(reg) v[0]);
//~^ ERROR cannot borrow `v` as mutable, as it is not declared as mutable
- // Const operands must be integer or floats, and must be constants.
-
- asm!("{}", const 0);
- asm!("{}", const 0i32);
- asm!("{}", const 0f32);
- asm!("{}", const 0 as *mut u8);
- //~^ ERROR asm `const` arguments must be integer or floating-point values
-
// This currently causes an ICE: https://github.com/rust-lang/rust/issues/81857
// asm!("{}", const &0);
// ERROR asm `const` arguments must be integer or floating-point values