t15916.nim 217 B

1234567891011121314151617
  1. discard """
  2. cmd: "nim doc --hints:off $file"
  3. action: "compile"
  4. joinable: false
  5. """
  6. type
  7. Test* = object
  8. id: int
  9. proc initTest*(id: int): Test =
  10. result.id = id
  11. proc hello*() =
  12. runnableExamples:
  13. discard