]> git.proxmox.com Git - rustc.git/blame - tests/mir-opt/const_prop/mutable_variable.rs
New upstream version 1.71.1+dfsg1
[rustc.git] / tests / mir-opt / const_prop / mutable_variable.rs
CommitLineData
49aad941 1// unit-test: ConstProp
f9f354fc 2
3dfed10e 3// EMIT_MIR mutable_variable.main.ConstProp.diff
f9f354fc
XL
4fn main() {
5 let mut x = 42;
6 x = 99;
7 let y = x;
8}