]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/inline_asm.rs
Rollup merge of #106927 - Ezrashaw:e0606-make-machine-applicable, r=estebank
[rust.git] / tests / ui / consts / inline_asm.rs
1 // needs-asm-support
2
3 use std::arch::asm;
4
5 const _: () = unsafe { asm!("nop") };
6 //~^ ERROR inline assembly
7
8 fn main() {}