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

closes #15751
This commit is contained in:
ringabout
2024-03-06 16:25:20 +08:00
committed by GitHub
parent 7cd3d60683
commit a2584c779b

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