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

11 lines
156 B
V

type TokenValue = rune | u64
fn test_for_cond() {
val := `+`
for (val in [TokenValue(`+`), TokenValue(`-`)]) {
println('ok')
break
}
assert true
}