rust/src/test/ui/issues/issue-23458.rs
2020-03-26 15:49:22 +00:00

12 lines
228 B
Rust

#![feature(llvm_asm)]
// build-fail
// only-x86_64
fn main() {
unsafe {
llvm_asm!("int $3"); //~ ERROR too few operands for instruction
//~| ERROR invalid operand in inline asm
}
}