1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/parser/tests/select_bad_key_4.vv

14 lines
148 B
V

fn f3_bad(ch1 chan int) {
mut a := 5
select {
a = <-ch1 {
println(b)
}
c := -a {
println("shouldn't get here")
}
}
}
fn main() {}