2020-08-09 15:26:57 +02:00
|
|
|
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
|
|
|
|
}
|
2020-09-13 13:13:30 +02:00
|
|
|
_ = v3
|
2020-08-09 15:26:57 +02:00
|
|
|
return v
|
|
|
|
}
|