Files
tinygo/transform/gc_test.go
T
2026-09-10 08:49:07 +02:00

23 lines
448 B
Go

package transform_test
import (
"testing"
"github.com/tinygo-org/tinygo/transform"
"tinygo.org/x/go-llvm"
)
func TestMakeGCStackSlots(t *testing.T) {
t.Parallel()
testTransform(t, "testdata/gc-stackslots", func(mod llvm.Module) {
transform.MakeGCStackSlots(mod)
})
}
func TestMakeGCGlobalRootsAVR(t *testing.T) {
t.Parallel()
testTransform(t, "testdata/gc-globals-avr", func(mod llvm.Module) {
transform.MakeGCStackSlots(mod)
})
}