Nim/tests/run/mmultim3.nim
2011-11-19 15:45:51 +01:00

12 lines
142 B
Nim
Executable file

type
TObj* = object
var myObj* : ref TObj
method test123(a : ref TObj) =
echo("Hi base!")
proc testMyObj*() =
test123(myObj)