]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/mutable_variable.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[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 }