PageRenderTime 32ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Go | 11 lines | 8 code | 3 blank | 0 comment | 0 complexity | 88a5834c6ab72df7fc90b14b64fd959c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. package main
  2. import "./typedef_class"
  3. func main() {
  4. a := typedef_class.NewRealA()
  5. a.SetA(3)
  6. b := typedef_class.NewB()
  7. b.TestA(a)
  8. }