summary refs log tree commit diff
path: root/src/test/ui/issues/issue-23458.rs
blob: 90b3f1f9714b216c5cec4c50ec4e0133df181129 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(asm)]

// only-x86_64

fn main() {
    unsafe {
        asm!("int $3"); //~ ERROR too few operands for instruction
                        //~| ERROR invalid operand in inline asm
    }
}