rust/tests/ui/consts/inline_asm.rs
2024-02-16 20:02:50 +00:00

9 lines
123 B
Rust

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