Files
moxa/_test/for4.go
Marc Vertes 4d8e990ff3 fix: several bug fixes so bcrypt and blowfish work in yaegi (#182)
* convert type of nil value
* range staement with key and no value
* assign operators misbehave
* reset to zero in value spec statements
2019-05-07 14:01:55 +02:00

17 lines
163 B
Go

package main
func main() {
for i := 1; i <= 2; i++ {
var x, y int
println(x, y)
x, y = i, 2*i
println(x, y)
}
}
// Output:
// 0 0
// 1 2
// 0 0
// 2 4