closes #15751; adds a test case (#23372)

closes #15751

(cherry picked from commit a2584c779b)
This commit is contained in:
ringabout
2024-03-06 16:25:20 +08:00
committed by narimiran
parent 55b5068d20
commit 1e2d98a3e0

11
tests/macros/t15751.nim Normal file
View 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