This commit is contained in:
Araq 2019-01-13 16:05:42 +01:00
commit 2ccc9db59d

View file

@ -3,6 +3,7 @@ output: '''
123 123
Hallo Welt Hallo Welt
Hallo Welt Hallo Welt
1
''' '''
""" """
@ -23,3 +24,13 @@ macro foobar(arg: untyped): untyped =
foobar: foobar:
echo "Hallo Welt" echo "Hallo Welt"
# bug #3744
import macros
macro t(): untyped =
return quote do:
proc tp(): int =
result = 1
t()
echo tp()