summary refs log tree commit diff
path: root/src/test/compile-fail/asm-src-loc-codegen-units.rs
blob: 798eb32181ce7bebf55f399caee95aa47ea4915e (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(asm)]

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