summary refs log tree commit diff stats
path: root/tests/tnamspc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tnamspc.nim')
-rwxr-xr-xtests/tnamspc.nim5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/tnamspc.nim b/tests/tnamspc.nim
deleted file mode 100755
index eddaacfd8..000000000
--- a/tests/tnamspc.nim
+++ /dev/null
@@ -1,5 +0,0 @@
-# Test17 - test correct handling of namespaces

-

-import mnamspc1

-

-global = 9 #ERROR

4-12 16:24:58 +0200 committer Araq <rumpf_a@web.de> 2013-04-12 16:24:58 +0200 fixes #287; bugfix: subrange checking is performed again' href='/ahoang/Nim/commit/tests/run/tsubrange2.nim?h=devel&id=3cb3813eed378d753807a07f434234ce2d4c5159'>3cb3813ee ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

                        
                                                  






                       
         





           
discard """
  file: "tsubrange2.nim"
  outputsub: "value out of range: 50 [RangeError]"
  exitcode: "1"
"""

type
  TRange = range[0..40]
  
proc p(r: TRange) =
  discard
  
var
  r: TRange
  y = 50
p y