rust/tests/ui/consts/inline_asm.rs
2023-01-11 09:32:08 +00:00

9 lines
122 B
Rust

// needs-asm-support
use std::arch::asm;
const _: () = unsafe { asm!("nop") };
//~^ ERROR inline assembly
fn main() {}