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

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