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

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

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