Nim/tests/accept/run/mmultim3.nim
2010-10-21 00:12:14 +02: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)