rust/tests/mir-opt/const_prop/ref_deref.rs
2023-12-24 20:08:57 +00:00

10 lines
188 B
Rust

// unit-test: GVN
// EMIT_MIR ref_deref.main.GVN.diff
fn main() {
// CHECK-LABEL: fn main(
// CHECK: debug a => [[a:_.*]];
// CHECK: [[a]] = const 4_i32;
let a = *(&4);
}