summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/storage_ranges.rs
blob: 996051a2941119308ac6c41e54335801d1abef8f (plain)
1
2
3
4
5
6
7
8
9
// EMIT_MIR storage_ranges.main.nll.0.mir

fn main() {
    let a = 0;
    {
        let b = &Some(a);
    }
    let c = 1;
}