mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 05:34:45 +00:00
12 lines
244 B
Rust
12 lines
244 B
Rust
//@ only-x86_64
|
|
|
|
use std::arch::asm;
|
|
|
|
fn main() {
|
|
let mut _out: u64;
|
|
unsafe {
|
|
asm!("mov {}, 1", "jmp {}", out(reg) _out, label {});
|
|
//~^ ERROR using both label and output operands for inline assembly is unstable
|
|
}
|
|
}
|