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