tselfimport.nim 191 B

123456789
  1. discard """
  2. errormsg: "A module cannot import itself"
  3. file: "tselfimport.nim"
  4. line: 7
  5. """
  6. import strutils as su # guard against regression
  7. import tselfimport #ERROR
  8. echo("Hello World")