ebiten/internal/shader/testdata/for4.go
2020-08-10 01:14:42 +09:00

17 lines
167 B
Go

package main
func Ident(x int) int {
return x
}
func Foo() int {
sum := 0
for i := 0; i < 10; i++ {
x := Ident(i)
sum += x
}
y := 0
sum += y
return sum
}