PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Go | 11 lines | 9 code | 2 blank | 0 comment | 2 complexity | 076e658c242ed0581dead39bbb5008f6 MD5 | raw file
 1package main
 2
 3import "./memberin_extend_c"
 4
 5func main() {
 6	t := memberin_extend_c.NewPerson()
 7	t.SetName("Fred Bloggs")
 8	if t.GetName() != "FRED BLOGGS" {
 9		panic("name wrong")
10	}
11}