about summary refs log tree commit diff
path: root/tests/ui/consts/inline_asm.rs
blob: 20ea6a8e99426549707649f2ccc4f312473c1e47 (plain)
1
2
3
4
5
6
7
8
//@ needs-asm-support

use std::arch::asm;

const _: () = unsafe { asm!("nop") };
//~^ ERROR inline assembly

fn main() {}