Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
mir-opt
/
const_prop
/
mutable_variable_aggregate_mut_ref.rs
blob: a81aa7b49791bf8de5dda8a1e807239171e1c6a3 [
file
] [
log
] [
blame
]
// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR mutable_variable_aggregate_mut_ref.main.ConstProp.diff
fn
main
()
{
let
mut
x
=
(
42
,
43
);
let
z
=
&
mut
x
;
z
.
1
=
99
;
let
y
=
x
;
}