1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-16 05:52:03 +01:00
ebiten/internal/shader/testdata/for4.go

17 lines
167 B
Go
Raw Normal View History

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
}