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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
172 B
Rust
Raw Normal View History

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