t15751.nim 142 B

123456789101112
  1. discard """
  2. cmd: "nim c --hints:off $file"
  3. nimout: "out"
  4. """
  5. # bug #15751
  6. macro print(n: untyped): untyped =
  7. echo n.repr
  8. print:
  9. out