cl: initLinkname support //llgo:link

This commit is contained in:
xushiwei
2024-05-07 15:35:37 +08:00
parent 1038b06510
commit c93fce87da
5 changed files with 62 additions and 33 deletions

View File

@@ -28,6 +28,12 @@ func testCompile(t *testing.T, src, expected string) {
cltest.TestCompileEx(t, src, "foo.go", expected)
}
/*
func TestFromTestlibc(t *testing.T) {
cltest.FromDir(t, "argv", "./_testlibc", false)
}
*/
func TestFromTestrt(t *testing.T) {
cltest.FromDir(t, "", "./_testrt", true)
}