summary refs log blame commit diff stats
path: root/tests/method/mmultim3.nim
blob: a972482034635c3d1efb138c8c41fd60dd92434e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
    
                                  


                     
                                       





                    
type
    TObj* {.inheritable.} = object

var myObj* : ref TObj

method test123(a : ref TObj) {.base.} =
    echo("Hi base!")

proc testMyObj*() =
    test123(myObj)