mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
17 lines
267 B
Go
17 lines
267 B
Go
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)
|
|
}
|
|
})
|
|
}
|