diff options
Diffstat (limited to 'tests/accept/run/mmultim3.nim')
-rw-r--r-- | tests/accept/run/mmultim3.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/accept/run/mmultim3.nim b/tests/accept/run/mmultim3.nim new file mode 100644 index 000000000..ca73ebea6 --- /dev/null +++ b/tests/accept/run/mmultim3.nim @@ -0,0 +1,12 @@ +type + TObj* = object + +var myObj* : ref TObj + +method test123(a : ref TObj) = + echo("Hi base!") + +proc testMyObj*() = + test123(myObj) + + |