swig/Examples/test-suite/go/static_const_member_2_runme.go
Ian Lance Taylor 8a1c09e280 Fix Go tests to run in module mode
Stop using relative imports and add a go.mod file.

Tested against Go 1.6 through Go pre-1.13, and gccgo.
2019-04-24 21:43:38 -07:00

18 lines
332 B
Go

package main
import . "static_const_member_2"
func main() {
_ = NewTest_int()
_ = CavityPackFlagsForward_field
_ = Test_intCurrent_profile
_ = Test_intRightIndex
_ = CavityPackFlagsBackward_field
_ = Test_intLeftIndex
// _ = GetTest_int_Cavity_flags()
if GetFooBAZ().GetVal() != 2*GetFooBAR().GetVal() {
panic(0)
}
}