summary refs log tree commit diff stats
path: root/tests/accept/run/mmultim3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/mmultim3.nim')
-rw-r--r--tests/accept/run/mmultim3.nim12
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)
+
+