summary refs log tree commit diff
path: root/src/test/compile-fail/asm-src-loc-codegen-units.rs
blob: c9415aed930d5ad85290ff8a96a74e3f59b1d1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// WONTFIX(#20184) Needs landing pads (not present in stage1) or the compiler hangs.
// ignore-stage1
// compile-flags: -C codegen-units=2
// ignore-emscripten

#![feature(llvm_asm)]

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