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

// build-fail
// only-x86_64

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