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








                                                 
discard """
  outputsub: "index 2 not in 0 .. 0 [IndexDefect]"
  exitcode: 1
  cmd: "nim c --gc:arc --exceptions:setjmp $file"
"""

# bug #12961
# --gc:arc --exceptions:setjmp
let a = @[1]
echo a[2]