rust/src/test/ui/issues/issue-23458.rs

11 lines
199 B
Rust
Raw Normal View History

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