mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
11
tests/macros/t15751.nim
Normal file
11
tests/macros/t15751.nim
Normal file
@@ -0,0 +1,11 @@
|
||||
discard """
|
||||
cmd: "nim c --hints:off $file"
|
||||
nimout: "out"
|
||||
"""
|
||||
|
||||
# bug #15751
|
||||
macro print(n: untyped): untyped =
|
||||
echo n.repr
|
||||
|
||||
print:
|
||||
out
|
||||
Reference in New Issue
Block a user