summary refs log tree commit diff stats
path: root/tests/method/tmultim3.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-01-13 02:10:03 +0100
committerAraq <rumpf_a@web.de>2014-01-13 02:10:03 +0100
commit20b5f31c03fb556ec0aa2428a40adbac004d8987 (patch)
tree58086941e7d6bb8f480ca1173a95722ada9435b2 /tests/method/tmultim3.nim
parent51ee524109cf7e3e86c676bc1676063a01bfd979 (diff)
downloadNim-20b5f31c03fb556ec0aa2428a40adbac004d8987.tar.gz
new tester; all tests categorized
Diffstat (limited to 'tests/method/tmultim3.nim')
-rw-r--r--tests/method/tmultim3.nim20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/method/tmultim3.nim b/tests/method/tmultim3.nim
new file mode 100644
index 000000000..373c84c0e
--- /dev/null
+++ b/tests/method/tmultim3.nim
@@ -0,0 +1,20 @@
+discard """
+  file: "tmultim3.nim"
+  output: "Hi derived!"
+"""
+import mmultim3
+
+type
+    TBObj* = object of TObj
+
+
+method test123(a : ref TBObj) =
+    echo("Hi derived!")
+
+var a : ref TBObj
+new(a)
+myObj = a
+testMyObj()
+
+
+