t23677.nim 252 B

12345678910111213
  1. discard """
  2. errormsg: "expression '0' is of type 'int literal(0)' and has to be used (or discarded); start of expression here: t23677.nim(1, 1)"
  3. line: 10
  4. column: 3
  5. """
  6. # issue #23677
  7. if true:
  8. 0
  9. else:
  10. raise newException(ValueError, "err")