aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/go/using_protected_runme.go
blob: 4310818275fe89c2b955b33fba2e12c73798135e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package main

import . "swigtests/using_protected"

func main() {
	f := NewFooBar()
	f.SetX(3)

	if f.Blah(4) != 4 {
		panic("blah(int)")
	}
}