0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 04:21:19 +01:00
rust/tests/mir-opt/storage_ranges.rs
2023-10-19 15:51:52 +00:00

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;
}