tinit.nim 216 B

12345678910
  1. discard """
  2. output: "Hello from module! Hello from main module!"
  3. """
  4. # Test the new init section in modules
  5. import minit
  6. write(stdout, "Hello from main module!\n")
  7. #OUT Hello from module! Hello from main module!