PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/go/using_protected_runme.go

#
Go | 12 lines | 9 code | 3 blank | 0 comment | 2 complexity | 18f7dae9aba611608485412d051a69ae MD5 | raw file
 1package main
 2
 3import . "./using_protected"
 4
 5func main() {
 6	f := NewFooBar()
 7	f.SetX(3)
 8
 9	if f.Blah(4) != 4 {
10		panic("blah(int)")
11	}
12}