thintprocessing.nim 278 B

12345678910111213141516171819
  1. discard """
  2. disabled: windows
  3. matrix: "--hint:processing"
  4. nimout: '''
  5. compile start
  6. ...
  7. warn_module.nim(6, 6) Hint: 'test' is declared but not used [XDeclaredButNotUsed]
  8. compile end
  9. '''
  10. """
  11. static:
  12. echo "compile start"
  13. import warn_module
  14. static:
  15. echo "compile end"