rust/tests/ui/liveness/liveness-assign-imm-local-after-ret.rs
2023-01-11 09:32:08 +00:00

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