summary refs log tree commit diff
path: root/src/test/ui/llvm-asm/asm-src-loc.rs
blob: 4506c12a0e6b9075c3dee3c5fe10949ef181169b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// build-fail
// dont-check-compiler-stderr
// ignore-emscripten

#![feature(llvm_asm)]
#![allow(deprecated)] // llvm_asm!

fn main() {
    unsafe {
        llvm_asm!("nowayisthisavalidinstruction"); //~ ERROR instruction
    }
}