]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/mutable_variable.rs
Rollup merge of #99864 - klensy:bootstrap-art-dupe, r=jyn514
[rust.git] / src / test / mir-opt / const_prop / mutable_variable.rs
1 // compile-flags: -O
2
3 // EMIT_MIR mutable_variable.main.ConstProp.diff
4 fn main() {
5     let mut x = 42;
6     x = 99;
7     let y = x;
8 }