Nim/tests/tvardecl.nim
2008-06-22 16:14:11 +02:00

6 lines
99 B
Nim
Executable file

# Test the new variable declaration syntax
var
x = 0
s = "Hallo"
a, b: int = 0 #ERROR