diff --git a/c/sqlite/llgo_autogen.lla b/c/sqlite/llgo_autogen.lla index ffb75f46..736d703b 100644 Binary files a/c/sqlite/llgo_autogen.lla and b/c/sqlite/llgo_autogen.lla differ diff --git a/cl/compile_test.go b/cl/compile_test.go index dbd9c939..cc3e5112 100644 --- a/cl/compile_test.go +++ b/cl/compile_test.go @@ -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