PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

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

#
Go | 16 lines | 12 code | 4 blank | 0 comment | 4 complexity | c1519ae6678c36a930d369518a2f8bc0 MD5 | raw file
 1package main
 2
 3import "./template_extend1"
 4
 5func main() {
 6	a := template_extend1.NewLBaz()
 7	b := template_extend1.NewDBaz()
 8
 9	if a.Foo() != "lBaz::foo" {
10		panic(0)
11	}
12
13	if b.Foo() != "dBaz::foo" {
14		panic(0)
15	}
16}