mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
13 lines
140 B
V
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() {}
|