]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/asm-src-loc.rs
Rollup merge of #69628 - nnethercote:fix-DiagnosticBuilder-into_diagnostic-leak,...
[rust.git] / src / test / compile-fail / asm-src-loc.rs
1 // ignore-emscripten
2
3 #![feature(asm)]
4
5 fn main() {
6     unsafe {
7         asm!("nowayisthisavalidinstruction"); //~ ERROR instruction
8     }
9 }