aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform/gc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'transform/gc_test.go')
-rw-r--r--transform/gc_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/transform/gc_test.go b/transform/gc_test.go
index 64962f0a0..70412d6b6 100644
--- a/transform/gc_test.go
+++ b/transform/gc_test.go
@@ -1,21 +1,22 @@
-package transform
+package transform_test
import (
"testing"
+ "github.com/tinygo-org/tinygo/transform"
"tinygo.org/x/go-llvm"
)
func TestAddGlobalsBitmap(t *testing.T) {
t.Parallel()
testTransform(t, "testdata/gc-globals", func(mod llvm.Module) {
- AddGlobalsBitmap(mod)
+ transform.AddGlobalsBitmap(mod)
})
}
func TestMakeGCStackSlots(t *testing.T) {
t.Parallel()
testTransform(t, "testdata/gc-stackslots", func(mod llvm.Module) {
- MakeGCStackSlots(mod)
+ transform.MakeGCStackSlots(mod)
})
}