]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/asm-src-loc-codegen-units.rs
Rollup merge of #69628 - nnethercote:fix-DiagnosticBuilder-into_diagnostic-leak,...
[rust.git] / src / test / compile-fail / asm-src-loc-codegen-units.rs
1 // WONTFIX(#20184) Needs landing pads (not present in stage1) or the compiler hangs.
2 // ignore-stage1
3 // compile-flags: -C codegen-units=2
4 // ignore-emscripten
5
6 #![feature(asm)]
7
8 fn main() {
9     unsafe {
10         asm!("nowayisthisavalidinstruction"); //~ ERROR instruction
11     }
12 }