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

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

#
Go | 14 lines | 11 code | 3 blank | 0 comment | 4 complexity | 570c720a3cba50432a635f4ee5f30a7d MD5 | raw file
 1package main
 2
 3import . "./extend_template_ns"
 4
 5func main() {
 6	f := NewFoo_One()
 7	if f.Test1(37) != 37 {
 8		panic(0)
 9	}
10
11	if f.Test2(42) != 42 {
12		panic(0)
13	}
14}