/trunk/Examples/test-suite/go/using_protected_runme.go
# · Go · 12 lines · 9 code · 3 blank · 0 comment · 2 complexity · 18f7dae9aba611608485412d051a69ae MD5 · raw file
- package main
- import . "./using_protected"
- func main() {
- f := NewFooBar()
- f.SetX(3)
- if f.Blah(4) != 4 {
- panic("blah(int)")
- }
- }