rust/tests/ui/liveness/liveness-assign-imm-local-after-ret.rs
2024-02-16 20:02:50 +00:00

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