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