rust/tests/mir-opt/global_asm.rs

10 lines
228 B
Rust

// skip-filecheck
//@ needs-asm-support
// `global_asm!` gets a fake body, make sure it is handled correctly
// EMIT_MIR global_asm.{global_asm#0}.SimplifyLocals-final.after.mir
core::arch::global_asm!("/* */");
fn main() {}