blob: 8d464e752e637172c42230300e1b61e0872f7389 [file] [log] [blame]
// build-pass
// only-x86_64
#![feature(asm)]
fn main() {
unsafe {
// "nop" :: "r"(x) : "eax" : "volatile"
let x = 10;
asm!("\x6Eop" :: "\x72"(x) : "\x65ax" : "\x76olatile");
}
}