PageRenderTime 39ms CodeModel.GetById 14ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. package main
  2. import . "./extend_template_ns"
  3. func main() {
  4. f := NewFoo_One()
  5. if f.Test1(37) != 37 {
  6. panic(0)
  7. }
  8. if f.Test2(42) != 42 {
  9. panic(0)
  10. }
  11. }