mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
11 lines
254 B
Rust
11 lines
254 B
Rust
// This does not currently propagate (#67862)
|
|
//@ test-mir-pass: 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);
|
|
}
|