github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/transform/gc_test.go (about) 1 package transform_test 2 3 import ( 4 "testing" 5 6 "github.com/tinygo-org/tinygo/transform" 7 "tinygo.org/x/go-llvm" 8 ) 9 10 func TestMakeGCStackSlots(t *testing.T) { 11 t.Parallel() 12 testTransform(t, "testdata/gc-stackslots", func(mod llvm.Module) { 13 transform.MakeGCStackSlots(mod) 14 }) 15 }