about summary refs log tree commit diff
path: root/tests/mir-opt/global_asm.rs
blob: 22b782d365e9452f4ef508cef14118bceabcb65a (plain)
1
2
3
4
5
6
7
8
9
// 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() {}