cl: importPkg support linkname of method

This commit is contained in:
xushiwei
2024-05-08 13:12:22 +08:00
parent d49197cbe9
commit 14cf646c47
4 changed files with 98 additions and 142 deletions

View File

@@ -40,6 +40,10 @@ func TestFromTestdata(t *testing.T) {
cltest.FromDir(t, "", "./_testdata", false)
}
func TestSqlite(t *testing.T) {
cltest.Pkg(t, "github.com/goplus/llgo/x/sqlite", "../x/sqlite/sqlite.ll")
}
func TestRuntime(t *testing.T) {
cltest.Pkg(t, ssa.PkgRuntime, "../internal/runtime/llgo_autogen.ll")
}