From 405b86068e6a3d39970b9129ceec0a9108464b28 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 22 Jun 2008 16:14:11 +0200 Subject: Initial import --- tests/tnewuns.nim | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tests/tnewuns.nim (limited to 'tests/tnewuns.nim') diff --git a/tests/tnewuns.nim b/tests/tnewuns.nim new file mode 100755 index 000000000..5181e467c --- /dev/null +++ b/tests/tnewuns.nim @@ -0,0 +1,12 @@ +# test the new unsigned operations: + +import + strutils + +var + x, y: int + +x = 1 +y = high(int) + +writeln(stdout, $ ( x +% y ) ) -- cgit 1.4.1-2-gfad0