PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Go | 11 lines | 9 code | 2 blank | 0 comment | 2 complexity | 8db149c73084ab18f36001249d1c71eb MD5 | raw file
 1package main
 2
 3import "./class_scope_weird"
 4
 5func main() {
 6	f := class_scope_weird.NewFoo()
 7	class_scope_weird.NewFoo(3)
 8	if f.Bar(3) != 3 {
 9		panic(f.Bar(3))
10	}
11}