Files
llgo/compiler/cl/_testdata/foo/foo.go

34 lines
332 B
Go
Raw Normal View History

package foo
func Bar() any {
return struct{ V int }{1}
}
func F() any {
return struct{ v int }{1}
}
2024-05-25 08:20:09 +08:00
type Foo struct {
pb *byte
F float32
}
func (v Foo) Pb() *byte {
return v.pb
}
type Gamer interface {
initGame()
Load()
}
type Game struct {
}
func (g *Game) initGame() {
}
func (g *Game) Load() {
println("load")
}