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

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

#
Go | 17 lines | 12 code | 5 blank | 0 comment | 2 complexity | 3483f39d3ccc7b9a874971e77555cfd5 MD5 | raw file
 1package main
 2
 3import . "./naturalvar"
 4
 5func main() {
 6	f := NewFoo()
 7	b := NewBar()
 8
 9	b.SetF(f)
10
11	SetS("hello")
12	b.SetS("hello")
13
14	if b.GetS() != GetS() {
15		panic(0)
16	}
17}