summary refs log tree commit diff stats
path: root/tests/reject/tind1.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-09-12 08:43:24 +0200
committerAraq <rumpf_a@web.de>2012-09-12 08:43:24 +0200
commit8178cd4fab0968c1d808b6d3cf56c30c3db7fb37 (patch)
tree7aa02ab757bd29bb69eb1a3eb0cb91b08615608a /tests/reject/tind1.nim
parentd48d3d0bd19772160f7f7eea292c74b71bd38b16 (diff)
downloadNim-8178cd4fab0968c1d808b6d3cf56c30c3db7fb37.tar.gz
made some tests green
Diffstat (limited to 'tests/reject/tind1.nim')
-rw-r--r--tests/reject/tind1.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reject/tind1.nim b/tests/reject/tind1.nim
index 6c4135d85..f3f3cacf7 100644
--- a/tests/reject/tind1.nim
+++ b/tests/reject/tind1.nim
@@ -11,7 +11,7 @@ var x = if 4 != 5:
   else:
     "no"
 
-macro mymacro(n: expr): expr = result = n[0]
+macro mymacro(n: expr): stmt {.immediate.} = nil
 
 mymacro:
   echo "test"