/trunk/Examples/test-suite/go/using_protected_runme.go
Go | 12 lines | 9 code | 3 blank | 0 comment | 2 complexity | 18f7dae9aba611608485412d051a69ae MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- package main
- import . "./using_protected"
- func main() {
- f := NewFooBar()
- f.SetX(3)
- if f.Blah(4) != 4 {
- panic("blah(int)")
- }
- }