rust/tests/mir-opt/storage_ranges.rs

11 lines
143 B
Rust

// skip-filecheck
// EMIT_MIR storage_ranges.main.nll.0.mir
fn main() {
let a = 0;
{
let b = &Some(a);
}
let c = 1;
}