summary refs log tree commit diff stats
path: root/tests/compile/tmacro1.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-06-21 19:08:39 +0200
committerAraq <rumpf_a@web.de>2012-06-21 19:08:39 +0200
commit4d9a5dc8fff3fc7d455fb9e8044fde1338ee775e (patch)
treedbc97a072a9a978ab2c329da0c8addfc7314f000 /tests/compile/tmacro1.nim
parent2294c02cc899d42695e659572e75d7f87680de2b (diff)
downloadNim-4d9a5dc8fff3fc7d455fb9e8044fde1338ee775e.tar.gz
fixes #140
Diffstat (limited to 'tests/compile/tmacro1.nim')
-rwxr-xr-xtests/compile/tmacro1.nim10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/compile/tmacro1.nim b/tests/compile/tmacro1.nim
index 52c86e7e9..b4fce9776 100755
--- a/tests/compile/tmacro1.nim
+++ b/tests/compile/tmacro1.nim
@@ -18,13 +18,3 @@ macro test*(a: stmt): stmt =
 
 test:
   "hi"
-
-macro dump(n: stmt): stmt =
-  dump(n)
-  if kind(n) == nnkNone:
-    nil
-  else:
-    hint($kind(n))
-    for i in countUp(0, len(n)-1):
-      nil
-