summary refs log tree commit diff stats
path: root/tests/accept/run/tmultim3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tmultim3.nim')
-rw-r--r--tests/accept/run/tmultim3.nim14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/accept/run/tmultim3.nim b/tests/accept/run/tmultim3.nim
new file mode 100644
index 000000000..a3271d8d9
--- /dev/null
+++ b/tests/accept/run/tmultim3.nim
@@ -0,0 +1,14 @@
+import mmultim3
+
+type
+    TBObj* = object of TObj
+
+
+method test123(a : ref TBObj) =
+    echo("Hi derived!")
+
+var a : ref TBObj
+new(a)
+myObj = a
+testMyObj()
+