Skip to content

Commit

Permalink
closes #15751; adds a test case (#23372)
Browse files Browse the repository at this point in the history
closes #15751
  • Loading branch information
ringabout authored Mar 6, 2024
1 parent 7cd3d60 commit a2584c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/macros/t15751.nim
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a2584c7

Please sign in to comment.