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_3.vv

13 lines
140 B
V

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