diff options
author | Araq <rumpf_a@web.de> | 2014-01-13 02:10:03 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-01-13 02:10:03 +0100 |
commit | 20b5f31c03fb556ec0aa2428a40adbac004d8987 (patch) | |
tree | 58086941e7d6bb8f480ca1173a95722ada9435b2 /tests/method/tmultim3.nim | |
parent | 51ee524109cf7e3e86c676bc1676063a01bfd979 (diff) | |
download | Nim-20b5f31c03fb556ec0aa2428a40adbac004d8987.tar.gz |
new tester; all tests categorized
Diffstat (limited to 'tests/method/tmultim3.nim')
-rw-r--r-- | tests/method/tmultim3.nim | 20 |
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() + + + |