cl: clean test
This commit is contained in:
33
compiler/cl/_testdata/foo/foo.go
Normal file
33
compiler/cl/_testdata/foo/foo.go
Normal file
@@ -0,0 +1,33 @@
|
||||
package foo
|
||||
|
||||
func Bar() any {
|
||||
return struct{ V int }{1}
|
||||
}
|
||||
|
||||
func F() any {
|
||||
return struct{ v int }{1}
|
||||
}
|
||||
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user