8 lines
89 B
Nim
8 lines
89 B
Nim
# #12671
|
|
|
|
proc foo =
|
|
var x: seq[int]
|
|
doAssertRaises(IndexError):
|
|
inc x[0]
|
|
|
|
foo()
|