mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 07:27:32 +01:00
154f86e6c1
Fixes #1328
17 lines
194 B
Go
17 lines
194 B
Go
package main
|
|
|
|
func Foo() vec2 {
|
|
v := vec2(0)
|
|
for i := 0; i < 100; i++ {
|
|
v2 := vec2(0)
|
|
v = v2
|
|
}
|
|
v3 := vec2(0)
|
|
for i := 0; i < 100; i++ {
|
|
v4 := vec2(0)
|
|
v3 = v4
|
|
}
|
|
_ = v3
|
|
return v
|
|
}
|