Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
mir-opt
/
const_prop
/
ref_deref_project.rs
blob: 59e7f1a50b80d6dd2b5bc8d26c24237966f07d4c [
file
] [
log
] [
blame
]
// This does not currently propagate (#67862)
//@ unit-test: GVN
// EMIT_MIR ref_deref_project.main.GVN.diff
fn
main
()
{
// CHECK-LABEL: fn main(
// CHECK: debug a => [[a:_.*]];
// CHECK: [[a]] = const 5_i32;
let
a
=
*(&(
4
,
5
).
1
);
}