rust/src/test/ui/liveness-assign-imm-local-after-ret.rs
2019-07-27 18:56:16 +03: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() {
}