cl: clean test
This commit is contained in:
@@ -4,20 +4,20 @@ import (
|
||||
_ "unsafe"
|
||||
|
||||
"github.com/goplus/llgo/c"
|
||||
_ "github.com/goplus/llgo/compiler/cl/internal/linktarget"
|
||||
_ "github.com/goplus/llgo/compiler/cl/_testrt/linkname/linktarget"
|
||||
)
|
||||
|
||||
//go:linkname print github.com/goplus/llgo/compiler/cl/internal/linktarget.F
|
||||
//go:linkname print github.com/goplus/llgo/compiler/cl/_testrt/linkname/linktarget.F
|
||||
func print(a, b, c, d *c.Char)
|
||||
|
||||
type m struct {
|
||||
s string
|
||||
}
|
||||
|
||||
//go:linkname setInfo github.com/goplus/llgo/compiler/cl/internal/linktarget.(*m).setInfo
|
||||
//go:linkname setInfo github.com/goplus/llgo/compiler/cl/_testrt/linkname/linktarget.(*m).setInfo
|
||||
func setInfo(*m, string)
|
||||
|
||||
//go:linkname info github.com/goplus/llgo/compiler/cl/internal/linktarget.m.info
|
||||
//go:linkname info github.com/goplus/llgo/compiler/cl/_testrt/linkname/linktarget.m.info
|
||||
func info(m) string
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user