Fix all Go tests to build with "go build"

Tested against Go 1.6 through Go 1.13beta1, and gccgo.

Fixes #1607
This commit is contained in:
Ian Lance Taylor 2019-08-08 14:30:50 -07:00
commit 7aafe3d8b2
167 changed files with 246 additions and 392 deletions

View file

@ -3,7 +3,7 @@
package main
import "unions"
import "swigtests/unions"
func main() {
// Create new instances of SmallStruct and BigStruct for later use