swig/Examples/test-suite/go/template_rename_runme.go
Ian Lance Taylor 7aafe3d8b2 Fix all Go tests to build with "go build"
Tested against Go 1.6 through Go 1.13beta1, and gccgo.

Fixes #1607
2019-08-08 14:30:50 -07:00

16 lines
248 B
Go

package main
import "swigtests/template_rename"
func main() {
i := template_rename.NewIFoo()
d := template_rename.NewDFoo()
_ = i.Blah_test(4)
_ = i.Spam_test(5)
_ = i.Groki_test(6)
_ = d.Blah_test(7)
_ = d.Spam(8)
_ = d.Grok_test(9)
}