Nim/tests/compile/tnewuns.nim
2011-11-19 15:45:51 +01:00

12 lines
137 B
Nim
Executable file

# test the new unsigned operations:
import
strutils
var
x, y: int
x = 1
y = high(int)
writeln(stdout, $ ( x +% y ) )