aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform/interface-lowering_test.go
blob: f3652cc90355f1156f19cb4108fc36c6a9a28b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package transform

import (
	"testing"

	"tinygo.org/x/go-llvm"
)

func TestInterfaceLowering(t *testing.T) {
	t.Parallel()
	testTransform(t, "testdata/interface", func(mod llvm.Module) {
		err := LowerInterfaces(mod)
		if err != nil {
			t.Error(err)
		}
	})
}