v/vlib/v/checker/tests/unreachable_code.vv

9 lines
93 B
V

fn foo() int {
return if 1 == 1 { 1 } else { 2 }
a := 1
println(a)
}
fn main() {
foo()
}