rust/tests/ui/feature-gates/feature-gate-asm_goto.rs
2024-02-24 19:49:16 +00:00

11 lines
172 B
Rust

//@ only-x86_64
use std::arch::asm;
fn main() {
unsafe {
asm!("jmp {}", label {});
//~^ ERROR label operands for inline assembly are unstable
}
}