2023-12-02 14:58:35 -06:00
|
|
|
// This does not currently propagate (#67862)
|
2023-09-20 16:43:33 -05:00
|
|
|
// unit-test: GVN
|
2020-04-04 12:15:01 -05:00
|
|
|
|
2023-09-20 16:43:33 -05:00
|
|
|
// EMIT_MIR ref_deref_project.main.GVN.diff
|
2020-01-09 03:33:49 -06:00
|
|
|
fn main() {
|
2023-12-02 14:58:35 -06:00
|
|
|
// CHECK-LABEL: fn main(
|
|
|
|
// CHECK: debug a => [[a:_.*]];
|
2023-09-20 16:43:33 -05:00
|
|
|
// CHECK: [[a]] = const 5_i32;
|
2023-12-02 14:58:35 -06:00
|
|
|
let a = *(&(4, 5).1);
|
2020-01-09 03:33:49 -06:00
|
|
|
}
|