TestGoLibMath
This commit is contained in:
Binary file not shown.
@@ -20,6 +20,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/goplus/llgo/cl/cltest"
|
||||
"github.com/goplus/llgo/internal/build"
|
||||
"github.com/goplus/llgo/ssa"
|
||||
)
|
||||
|
||||
@@ -64,6 +65,11 @@ func TestPython(t *testing.T) {
|
||||
cltest.Pkg(t, ssa.PkgPython, "../py/llgo_autogen.ll")
|
||||
}
|
||||
|
||||
func TestGoLibMath(t *testing.T) {
|
||||
conf := build.NewDefaultConf(build.ModeInstall)
|
||||
build.Do([]string{"math"}, conf)
|
||||
}
|
||||
|
||||
func TestVar(t *testing.T) {
|
||||
testCompile(t, `package foo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user