rust/tests/mir-opt/global_asm.rs
2025-03-10 14:46:01 +01:00

9 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() {}