rust/tests/mir-opt/const_prop/ref_deref.rs

8 lines
185 B
Rust
Raw Normal View History

2022-12-04 13:38:46 -06:00
// compile-flags: -Zmir-enable-passes=-SimplifyLocals-before-const-prop
2020-07-27 14:22:43 -05:00
// EMIT_MIR ref_deref.main.PromoteTemps.diff
// EMIT_MIR ref_deref.main.ConstProp.diff
2020-04-04 12:15:01 -05:00
fn main() {
*(&4);
}