rust/tests/ui/liveness/liveness-assign-imm-local-a...

17 lines
186 B
Rust

//@ 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() {
}