mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
11 lines
250 B
Rust
11 lines
250 B
Rust
// 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);
|
|
}
|