summaryrefslogtreecommitdiffstats
path: root/tests/ui/liveness/liveness-assign-imm-local-after-ret.rs
blob: b463f4368d11195c3a2ec36cbb531b6f22c4fa2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass

#![allow(unreachable_code)]
// pretty-expanded FIXME #23616

#![allow(dead_code)]

fn test() {
    let _v: isize;
    _v = 1;
    return;
    _v = 2;
}

pub fn main() {
}