blob: d640828c16dce793b414115b146bb0f4ca0e6a2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(llvm_asm)]
#![allow(deprecated)] // 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
}
}
|