rust/tests/mir-opt/const_prop/mutable_variable_aggregate.rs
2023-10-19 15:51:52 +00:00

10 lines
171 B
Rust

// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR mutable_variable_aggregate.main.ConstProp.diff
fn main() {
let mut x = (42, 43);
x.1 = 99;
let y = x;
}