diff options
author | Araq <rumpf_a@web.de> | 2011-05-02 20:42:29 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-05-02 20:42:29 +0200 |
commit | 7d2b3dd6db07203d7ff7a083ddae62aa8e7942c8 (patch) | |
tree | 620ab756043b848bd202f96223664e6695be8215 /tests/accept/run/tmethods1.nim | |
parent | 4d5c3ebd468fa17a02a9abb9814c04e18baef309 (diff) | |
download | Nim-7d2b3dd6db07203d7ff7a083ddae62aa8e7942c8.tar.gz |
fixes #12
Diffstat (limited to 'tests/accept/run/tmethods1.nim')
-rw-r--r-- | tests/accept/run/tmethods1.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/accept/run/tmethods1.nim b/tests/accept/run/tmethods1.nim new file mode 100644 index 000000000..adcca9e19 --- /dev/null +++ b/tests/accept/run/tmethods1.nim @@ -0,0 +1,10 @@ +discard """ + output: "do nothing" +""" + +method somethin(obj: TObject) = + echo "do nothing" + +var o: TObject +o.somethin() + |