tvardecl.nim 164 B

12345678910111213
  1. discard """
  2. output: "44"
  3. """
  4. # Test the new variable declaration syntax
  5. var
  6. x = 0
  7. s = "Hallo"
  8. a, b: int = 4
  9. write(stdout, a)
  10. writeLine(stdout, b) #OUT 44