summary refs log tree commit diff
path: root/src/test/ui/issues/issue-23458.rs
blob: 1762d2183284899e7ab903433c591febade072df (plain)
1
2
3
4
5
6
7
8
9
10
11
#![feature(llvm_asm)]
// compile-flags: -Ccodegen-units=1
// build-fail
// only-x86_64

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