17 #![allow(dead_code, non_upper_case_globals)]
19 #[cfg(any(target_arch = "x86",
20 target_arch = "x86_64"))]
22 // assignment not dead
26 asm!("mov $1, $0" : "=r"(x) : "r"(5_usize), "0"(x) : : "cc");
27 //~^ WARNING unrecognized option
32 // comma in place of a colon
33 asm!("add $2, $1; mov $1, $0" : "=r"(x) : "r"(x), "r"(8_usize) : "cc", "volatile");
34 //~^ WARNING expected a clobber, found an option