rust/tests/mir-opt/const_prop/ref_deref.rs
2023-01-11 09:32:08 +00:00

8 lines
185 B
Rust

// compile-flags: -Zmir-enable-passes=-SimplifyLocals-before-const-prop
// EMIT_MIR ref_deref.main.PromoteTemps.diff
// EMIT_MIR ref_deref.main.ConstProp.diff
fn main() {
*(&4);
}