rust/tests/mir-opt/const_prop/ref_deref.rs
2023-12-02 20:58:45 +00:00

10 lines
199 B
Rust

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