rust/tests/ui/feature-gates/feature-gate-asm_goto.rs

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
}
}