summary refs log tree commit diff
path: root/src/test/ui/issues/issue-23458.rs
blob: 423b19c3ebd0999835a6391c70971d2f4868de85 (plain)
1
2
3
4
5
6
7
8
9
10
11
#![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
    }
}