mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 21:43:40 +00:00
refactor coroutine lowering and tasks
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package transform
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"tinygo.org/x/go-llvm"
|
||||
)
|
||||
|
||||
func TestGoroutineLowering(t *testing.T) {
|
||||
t.Parallel()
|
||||
testTransform(t, "testdata/coroutines", func(mod llvm.Module) {
|
||||
err := LowerCoroutines(mod, false)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user