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

import . "./using_protected"

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

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