summary refs log blame commit diff stats
path: root/tests/misc/tnewuns.nim
blob: d6bae4fb138fa21066fae191cc723f6028dea0ce (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                   
# test the new unsigned operations:

import
  strutils

var
  x, y: int

x = 1
y = high(int)

writeLine(stdout, $ ( x +% y ) )