1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-18 23:12:02 +01:00
ebiten/internal/shader/testdata/len.go

12 lines
127 B
Go
Raw Normal View History

package main
func Foo(foo vec2) int {
var a [2]int
return len(a)
}
func Bar(foo vec2) int {
var a [3]int
return cap(a)
}