rust/tests/mir-opt/global_asm.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
228 B
Rust
Raw Normal View History

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