summary refs log tree commit diff stats
path: root/tests/macros/tmacros1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tmacros1.nim')
-rw-r--r--tests/macros/tmacros1.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/macros/tmacros1.nim b/tests/macros/tmacros1.nim
index 1a1073a44..9e3ab028b 100644
--- a/tests/macros/tmacros1.nim
+++ b/tests/macros/tmacros1.nim
@@ -5,7 +5,7 @@ discard """
 import
   macros, strutils
 
-macro outterMacro*(n: stmt): stmt {.immediate.} =
+macro outterMacro*(n, blck: untyped): untyped =
   let n = callsite()
   var j : string = "hi"
   proc innerProc(i: int): string =
@@ -27,5 +27,3 @@ var str: string
 outterMacro(str):
   "hellow"
 echo str
-
-