Files
Nim/tests/tvardecl.nim
2010-02-14 00:29:35 +01:00

10 lines
138 B
Nim

# Test the new variable declaration syntax
var
x = 0
s = "Hallo"
a, b: int = 4
write(stdout, a)
write(stdout, b) #OUT 44