From 764e0f0e7f16063e24aa5c205b9a3779c37b55f4 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Sat, 15 Jun 2024 16:08:10 +0800 Subject: [PATCH] TestGoLibMath --- c/sqlite/llgo_autogen.lla | Bin 854 -> 854 bytes cl/compile_test.go | 6 ++++++ 2 files changed, 6 insertions(+) diff --git a/c/sqlite/llgo_autogen.lla b/c/sqlite/llgo_autogen.lla index ffb75f469ff7e8036085769e52f3f9478baa0b86..736d703bad2e8f611dbb93786a35e65a52bca1a2 100644 GIT binary patch delta 49 zcmcb{c8!fUz?+#xgn@y9gW-9@`H8%$?3=uE)3$i$ZnWIT#0(Ug{ENw$87MZ{fLRRy Df+G;V delta 49 zcmcb{c8!fUz?+#xgn@y9gQ3y)+(ceg_M`>bX(5a>3>2Gez^n!U DWXlhe 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