simple.nim 286 B

123456789101112131415161718192021222324252627282930
  1. var x: int = 2
  2. echo x
  3. # bug #9144
  4. proc a() =
  5. while true:
  6. discard
  7. # comment 1
  8. # comment 2
  9. discard
  10. # bug #15596
  11. discard ## comment 3
  12. discard # comment 4
  13. # bug #20553
  14. let `'hello` = 12
  15. echo `'hello`
  16. proc `'u4`(n: string) =
  17. # The leading ' is required.
  18. discard