summary refs log tree commit diff stats
path: root/tests/tovfint.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tovfint.nim')
-rw-r--r--tests/tovfint.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/tovfint.nim b/tests/tovfint.nim
index 223e78331..91eda8d0b 100644
--- a/tests/tovfint.nim
+++ b/tests/tovfint.nim
@@ -1,11 +1,8 @@
 # this tests the new overflow literals

 

-import

-  io

-

 var

   i: int

-i = cast[int](0xffffffff)

+i = int(0xffffffff)

 when defined(cpu64):

   if i == 4294967295:

     write(stdout, "works!\n")