1
0
mirror of https://github.com/golang/go synced 2024-11-14 14:10:29 -07:00
go/test/fixedbugs/issue30116.out
Keith Randall 2c423f063b cmd/compile,runtime: provide index information on bounds check failure
A few examples (for accessing a slice of length 3):

   s[-1]    runtime error: index out of range [-1]
   s[3]     runtime error: index out of range [3] with length 3
   s[-1:0]  runtime error: slice bounds out of range [-1:]
   s[3:0]   runtime error: slice bounds out of range [3:0]
   s[3:-1]  runtime error: slice bounds out of range [:-1]
   s[3:4]   runtime error: slice bounds out of range [:4] with capacity 3
   s[0:3:4] runtime error: slice bounds out of range [::4] with capacity 3

Note that in cases where there are multiple things wrong with the
indexes (e.g. s[3:-1]), we report one of those errors kind of
arbitrarily, currently the rightmost one.

An exhaustive set of examples is in issue30116[u].out in the CL.

The message text has the same prefix as the old message text. That
leads to slightly awkward phrasing but hopefully minimizes the chance
that code depending on the error text will break.

Increases the size of the go binary by 0.5% (amd64). The panic functions
take arguments in registers in order to keep the size of the compiled code
as small as possible.

Fixes #30116

Change-Id: Idb99a827b7888822ca34c240eca87b7e44a04fdd
Reviewed-on: https://go-review.googlesource.com/c/go/+/161477
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2019-03-18 17:33:38 +00:00

559 lines
54 KiB
Plaintext

slice[-9876543210] runtime error: index out of range [-9876543210]
slice[-1] runtime error: index out of range [-1]
slice[0] no panic
slice[2] no panic
slice[3] runtime error: index out of range [3] with length 3
slice[9876543210] runtime error: index out of range [9876543210] with length 3
array[-9876543210] runtime error: index out of range [-9876543210]
array[-1] runtime error: index out of range [-1]
array[0] no panic
array[2] no panic
array[3] runtime error: index out of range [3] with length 3
array[9876543210] runtime error: index out of range [9876543210] with length 3
string[-9876543210] runtime error: index out of range [-9876543210]
string[-1] runtime error: index out of range [-1]
string[0] no panic
string[2] no panic
string[3] runtime error: index out of range [3] with length 3
string[9876543210] runtime error: index out of range [9876543210] with length 3
slice[-9876543210:-9876543210] runtime error: slice bounds out of range [:-9876543210]
slice[-9876543210:-1] runtime error: slice bounds out of range [:-1]
slice[-9876543210:0] runtime error: slice bounds out of range [-9876543210:]
slice[-9876543210:3] runtime error: slice bounds out of range [-9876543210:]
slice[-9876543210:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[-9876543210:9876543210] runtime error: slice bounds out of range [:9876543210] with capacity 3
slice[-1:-9876543210] runtime error: slice bounds out of range [:-9876543210]
slice[-1:-1] runtime error: slice bounds out of range [:-1]
slice[-1:0] runtime error: slice bounds out of range [-1:]
slice[-1:3] runtime error: slice bounds out of range [-1:]
slice[-1:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[-1:9876543210] runtime error: slice bounds out of range [:9876543210] with capacity 3
slice[0:-9876543210] runtime error: slice bounds out of range [:-9876543210]
slice[0:-1] runtime error: slice bounds out of range [:-1]
slice[0:0] no panic
slice[0:3] no panic
slice[0:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[0:9876543210] runtime error: slice bounds out of range [:9876543210] with capacity 3
slice[3:-9876543210] runtime error: slice bounds out of range [:-9876543210]
slice[3:-1] runtime error: slice bounds out of range [:-1]
slice[3:0] runtime error: slice bounds out of range [3:0]
slice[3:3] no panic
slice[3:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[3:9876543210] runtime error: slice bounds out of range [:9876543210] with capacity 3
slice[4:-9876543210] runtime error: slice bounds out of range [:-9876543210]
slice[4:-1] runtime error: slice bounds out of range [:-1]
slice[4:0] runtime error: slice bounds out of range [4:0]
slice[4:3] runtime error: slice bounds out of range [4:3]
slice[4:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[4:9876543210] runtime error: slice bounds out of range [:9876543210] with capacity 3
slice[9876543210:-9876543210] runtime error: slice bounds out of range [:-9876543210]
slice[9876543210:-1] runtime error: slice bounds out of range [:-1]
slice[9876543210:0] runtime error: slice bounds out of range [9876543210:0]
slice[9876543210:3] runtime error: slice bounds out of range [9876543210:3]
slice[9876543210:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[9876543210:9876543210] runtime error: slice bounds out of range [:9876543210] with capacity 3
array[-9876543210:-9876543210] runtime error: slice bounds out of range [:-9876543210]
array[-9876543210:-1] runtime error: slice bounds out of range [:-1]
array[-9876543210:0] runtime error: slice bounds out of range [-9876543210:]
array[-9876543210:3] runtime error: slice bounds out of range [-9876543210:]
array[-9876543210:4] runtime error: slice bounds out of range [:4] with length 3
array[-9876543210:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
array[-1:-9876543210] runtime error: slice bounds out of range [:-9876543210]
array[-1:-1] runtime error: slice bounds out of range [:-1]
array[-1:0] runtime error: slice bounds out of range [-1:]
array[-1:3] runtime error: slice bounds out of range [-1:]
array[-1:4] runtime error: slice bounds out of range [:4] with length 3
array[-1:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
array[0:-9876543210] runtime error: slice bounds out of range [:-9876543210]
array[0:-1] runtime error: slice bounds out of range [:-1]
array[0:0] no panic
array[0:3] no panic
array[0:4] runtime error: slice bounds out of range [:4] with length 3
array[0:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
array[3:-9876543210] runtime error: slice bounds out of range [:-9876543210]
array[3:-1] runtime error: slice bounds out of range [:-1]
array[3:0] runtime error: slice bounds out of range [3:0]
array[3:3] no panic
array[3:4] runtime error: slice bounds out of range [:4] with length 3
array[3:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
array[4:-9876543210] runtime error: slice bounds out of range [:-9876543210]
array[4:-1] runtime error: slice bounds out of range [:-1]
array[4:0] runtime error: slice bounds out of range [4:0]
array[4:3] runtime error: slice bounds out of range [4:3]
array[4:4] runtime error: slice bounds out of range [:4] with length 3
array[4:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
array[9876543210:-9876543210] runtime error: slice bounds out of range [:-9876543210]
array[9876543210:-1] runtime error: slice bounds out of range [:-1]
array[9876543210:0] runtime error: slice bounds out of range [9876543210:0]
array[9876543210:3] runtime error: slice bounds out of range [9876543210:3]
array[9876543210:4] runtime error: slice bounds out of range [:4] with length 3
array[9876543210:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
string[-9876543210:-9876543210] runtime error: slice bounds out of range [:-9876543210]
string[-9876543210:-1] runtime error: slice bounds out of range [:-1]
string[-9876543210:0] runtime error: slice bounds out of range [-9876543210:]
string[-9876543210:3] runtime error: slice bounds out of range [-9876543210:]
string[-9876543210:4] runtime error: slice bounds out of range [:4] with length 3
string[-9876543210:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
string[-1:-9876543210] runtime error: slice bounds out of range [:-9876543210]
string[-1:-1] runtime error: slice bounds out of range [:-1]
string[-1:0] runtime error: slice bounds out of range [-1:]
string[-1:3] runtime error: slice bounds out of range [-1:]
string[-1:4] runtime error: slice bounds out of range [:4] with length 3
string[-1:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
string[0:-9876543210] runtime error: slice bounds out of range [:-9876543210]
string[0:-1] runtime error: slice bounds out of range [:-1]
string[0:0] no panic
string[0:3] no panic
string[0:4] runtime error: slice bounds out of range [:4] with length 3
string[0:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
string[3:-9876543210] runtime error: slice bounds out of range [:-9876543210]
string[3:-1] runtime error: slice bounds out of range [:-1]
string[3:0] runtime error: slice bounds out of range [3:0]
string[3:3] no panic
string[3:4] runtime error: slice bounds out of range [:4] with length 3
string[3:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
string[4:-9876543210] runtime error: slice bounds out of range [:-9876543210]
string[4:-1] runtime error: slice bounds out of range [:-1]
string[4:0] runtime error: slice bounds out of range [4:0]
string[4:3] runtime error: slice bounds out of range [4:3]
string[4:4] runtime error: slice bounds out of range [:4] with length 3
string[4:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
string[9876543210:-9876543210] runtime error: slice bounds out of range [:-9876543210]
string[9876543210:-1] runtime error: slice bounds out of range [:-1]
string[9876543210:0] runtime error: slice bounds out of range [9876543210:0]
string[9876543210:3] runtime error: slice bounds out of range [9876543210:3]
string[9876543210:4] runtime error: slice bounds out of range [:4] with length 3
string[9876543210:9876543210] runtime error: slice bounds out of range [:9876543210] with length 3
slice[-9876543210:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-9876543210:-9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[-9876543210:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
slice[-9876543210:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
slice[-9876543210:-9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-9876543210:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-9876543210:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-9876543210:-1:-1] runtime error: slice bounds out of range [::-1]
slice[-9876543210:-1:0] runtime error: slice bounds out of range [:-1:]
slice[-9876543210:-1:3] runtime error: slice bounds out of range [:-1:]
slice[-9876543210:-1:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-9876543210:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-9876543210:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-9876543210:0:-1] runtime error: slice bounds out of range [::-1]
slice[-9876543210:0:0] runtime error: slice bounds out of range [-9876543210::]
slice[-9876543210:0:3] runtime error: slice bounds out of range [-9876543210::]
slice[-9876543210:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-9876543210:0:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-9876543210:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-9876543210:3:-1] runtime error: slice bounds out of range [::-1]
slice[-9876543210:3:0] runtime error: slice bounds out of range [:3:0]
slice[-9876543210:3:3] runtime error: slice bounds out of range [-9876543210::]
slice[-9876543210:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-9876543210:3:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-9876543210:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-9876543210:4:-1] runtime error: slice bounds out of range [::-1]
slice[-9876543210:4:0] runtime error: slice bounds out of range [:4:0]
slice[-9876543210:4:3] runtime error: slice bounds out of range [:4:3]
slice[-9876543210:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-9876543210:4:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-9876543210:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-9876543210:9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[-9876543210:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
slice[-9876543210:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
slice[-9876543210:9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-9876543210:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-1:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-1:-9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[-1:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
slice[-1:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
slice[-1:-9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-1:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-1:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-1:-1:-1] runtime error: slice bounds out of range [::-1]
slice[-1:-1:0] runtime error: slice bounds out of range [:-1:]
slice[-1:-1:3] runtime error: slice bounds out of range [:-1:]
slice[-1:-1:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-1:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-1:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-1:0:-1] runtime error: slice bounds out of range [::-1]
slice[-1:0:0] runtime error: slice bounds out of range [-1::]
slice[-1:0:3] runtime error: slice bounds out of range [-1::]
slice[-1:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-1:0:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-1:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-1:3:-1] runtime error: slice bounds out of range [::-1]
slice[-1:3:0] runtime error: slice bounds out of range [:3:0]
slice[-1:3:3] runtime error: slice bounds out of range [-1::]
slice[-1:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-1:3:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-1:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-1:4:-1] runtime error: slice bounds out of range [::-1]
slice[-1:4:0] runtime error: slice bounds out of range [:4:0]
slice[-1:4:3] runtime error: slice bounds out of range [:4:3]
slice[-1:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-1:4:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[-1:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[-1:9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[-1:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
slice[-1:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
slice[-1:9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[-1:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[0:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[0:-9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[0:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
slice[0:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
slice[0:-9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[0:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[0:-1:-1] runtime error: slice bounds out of range [::-1]
slice[0:-1:0] runtime error: slice bounds out of range [:-1:]
slice[0:-1:3] runtime error: slice bounds out of range [:-1:]
slice[0:-1:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[0:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[0:0:-1] runtime error: slice bounds out of range [::-1]
slice[0:0:0] no panic
slice[0:0:3] no panic
slice[0:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:0:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[0:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[0:3:-1] runtime error: slice bounds out of range [::-1]
slice[0:3:0] runtime error: slice bounds out of range [:3:0]
slice[0:3:3] no panic
slice[0:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:3:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[0:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[0:4:-1] runtime error: slice bounds out of range [::-1]
slice[0:4:0] runtime error: slice bounds out of range [:4:0]
slice[0:4:3] runtime error: slice bounds out of range [:4:3]
slice[0:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:4:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[0:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[0:9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[0:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
slice[0:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
slice[0:9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[3:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[3:-9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[3:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
slice[3:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
slice[3:-9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[3:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[3:-1:-1] runtime error: slice bounds out of range [::-1]
slice[3:-1:0] runtime error: slice bounds out of range [:-1:]
slice[3:-1:3] runtime error: slice bounds out of range [:-1:]
slice[3:-1:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[3:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[3:0:-1] runtime error: slice bounds out of range [::-1]
slice[3:0:0] runtime error: slice bounds out of range [3:0:]
slice[3:0:3] runtime error: slice bounds out of range [3:0:]
slice[3:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:0:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[3:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[3:3:-1] runtime error: slice bounds out of range [::-1]
slice[3:3:0] runtime error: slice bounds out of range [:3:0]
slice[3:3:3] no panic
slice[3:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:3:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[3:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[3:4:-1] runtime error: slice bounds out of range [::-1]
slice[3:4:0] runtime error: slice bounds out of range [:4:0]
slice[3:4:3] runtime error: slice bounds out of range [:4:3]
slice[3:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:4:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[3:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[3:9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[3:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
slice[3:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
slice[3:9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[4:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[4:-9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[4:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
slice[4:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
slice[4:-9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[4:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[4:-1:-1] runtime error: slice bounds out of range [::-1]
slice[4:-1:0] runtime error: slice bounds out of range [:-1:]
slice[4:-1:3] runtime error: slice bounds out of range [:-1:]
slice[4:-1:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[4:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[4:0:-1] runtime error: slice bounds out of range [::-1]
slice[4:0:0] runtime error: slice bounds out of range [4:0:]
slice[4:0:3] runtime error: slice bounds out of range [4:0:]
slice[4:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:0:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[4:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[4:3:-1] runtime error: slice bounds out of range [::-1]
slice[4:3:0] runtime error: slice bounds out of range [:3:0]
slice[4:3:3] runtime error: slice bounds out of range [4:3:]
slice[4:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:3:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[4:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[4:4:-1] runtime error: slice bounds out of range [::-1]
slice[4:4:0] runtime error: slice bounds out of range [:4:0]
slice[4:4:3] runtime error: slice bounds out of range [:4:3]
slice[4:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:4:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[4:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[4:9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[4:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
slice[4:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
slice[4:9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[9876543210:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[9876543210:-9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[9876543210:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
slice[9876543210:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
slice[9876543210:-9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[9876543210:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[9876543210:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[9876543210:-1:-1] runtime error: slice bounds out of range [::-1]
slice[9876543210:-1:0] runtime error: slice bounds out of range [:-1:]
slice[9876543210:-1:3] runtime error: slice bounds out of range [:-1:]
slice[9876543210:-1:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[9876543210:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[9876543210:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[9876543210:0:-1] runtime error: slice bounds out of range [::-1]
slice[9876543210:0:0] runtime error: slice bounds out of range [9876543210:0:]
slice[9876543210:0:3] runtime error: slice bounds out of range [9876543210:0:]
slice[9876543210:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[9876543210:0:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[9876543210:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[9876543210:3:-1] runtime error: slice bounds out of range [::-1]
slice[9876543210:3:0] runtime error: slice bounds out of range [:3:0]
slice[9876543210:3:3] runtime error: slice bounds out of range [9876543210:3:]
slice[9876543210:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[9876543210:3:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[9876543210:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[9876543210:4:-1] runtime error: slice bounds out of range [::-1]
slice[9876543210:4:0] runtime error: slice bounds out of range [:4:0]
slice[9876543210:4:3] runtime error: slice bounds out of range [:4:3]
slice[9876543210:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[9876543210:4:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
slice[9876543210:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
slice[9876543210:9876543210:-1] runtime error: slice bounds out of range [::-1]
slice[9876543210:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
slice[9876543210:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
slice[9876543210:9876543210:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[9876543210:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with capacity 3
array[-9876543210:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-9876543210:-9876543210:-1] runtime error: slice bounds out of range [::-1]
array[-9876543210:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
array[-9876543210:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
array[-9876543210:-9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[-9876543210:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-9876543210:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-9876543210:-1:-1] runtime error: slice bounds out of range [::-1]
array[-9876543210:-1:0] runtime error: slice bounds out of range [:-1:]
array[-9876543210:-1:3] runtime error: slice bounds out of range [:-1:]
array[-9876543210:-1:4] runtime error: slice bounds out of range [::4] with length 3
array[-9876543210:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-9876543210:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-9876543210:0:-1] runtime error: slice bounds out of range [::-1]
array[-9876543210:0:0] runtime error: slice bounds out of range [-9876543210::]
array[-9876543210:0:3] runtime error: slice bounds out of range [-9876543210::]
array[-9876543210:0:4] runtime error: slice bounds out of range [::4] with length 3
array[-9876543210:0:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-9876543210:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-9876543210:3:-1] runtime error: slice bounds out of range [::-1]
array[-9876543210:3:0] runtime error: slice bounds out of range [:3:0]
array[-9876543210:3:3] runtime error: slice bounds out of range [-9876543210::]
array[-9876543210:3:4] runtime error: slice bounds out of range [::4] with length 3
array[-9876543210:3:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-9876543210:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-9876543210:4:-1] runtime error: slice bounds out of range [::-1]
array[-9876543210:4:0] runtime error: slice bounds out of range [:4:0]
array[-9876543210:4:3] runtime error: slice bounds out of range [:4:3]
array[-9876543210:4:4] runtime error: slice bounds out of range [::4] with length 3
array[-9876543210:4:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-9876543210:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-9876543210:9876543210:-1] runtime error: slice bounds out of range [::-1]
array[-9876543210:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
array[-9876543210:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
array[-9876543210:9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[-9876543210:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-1:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-1:-9876543210:-1] runtime error: slice bounds out of range [::-1]
array[-1:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
array[-1:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
array[-1:-9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[-1:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-1:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-1:-1:-1] runtime error: slice bounds out of range [::-1]
array[-1:-1:0] runtime error: slice bounds out of range [:-1:]
array[-1:-1:3] runtime error: slice bounds out of range [:-1:]
array[-1:-1:4] runtime error: slice bounds out of range [::4] with length 3
array[-1:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-1:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-1:0:-1] runtime error: slice bounds out of range [::-1]
array[-1:0:0] runtime error: slice bounds out of range [-1::]
array[-1:0:3] runtime error: slice bounds out of range [-1::]
array[-1:0:4] runtime error: slice bounds out of range [::4] with length 3
array[-1:0:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-1:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-1:3:-1] runtime error: slice bounds out of range [::-1]
array[-1:3:0] runtime error: slice bounds out of range [:3:0]
array[-1:3:3] runtime error: slice bounds out of range [-1::]
array[-1:3:4] runtime error: slice bounds out of range [::4] with length 3
array[-1:3:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-1:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-1:4:-1] runtime error: slice bounds out of range [::-1]
array[-1:4:0] runtime error: slice bounds out of range [:4:0]
array[-1:4:3] runtime error: slice bounds out of range [:4:3]
array[-1:4:4] runtime error: slice bounds out of range [::4] with length 3
array[-1:4:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[-1:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[-1:9876543210:-1] runtime error: slice bounds out of range [::-1]
array[-1:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
array[-1:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
array[-1:9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[-1:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[0:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[0:-9876543210:-1] runtime error: slice bounds out of range [::-1]
array[0:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
array[0:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
array[0:-9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[0:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[0:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[0:-1:-1] runtime error: slice bounds out of range [::-1]
array[0:-1:0] runtime error: slice bounds out of range [:-1:]
array[0:-1:3] runtime error: slice bounds out of range [:-1:]
array[0:-1:4] runtime error: slice bounds out of range [::4] with length 3
array[0:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[0:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[0:0:-1] runtime error: slice bounds out of range [::-1]
array[0:0:0] no panic
array[0:0:3] no panic
array[0:0:4] runtime error: slice bounds out of range [::4] with length 3
array[0:0:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[0:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[0:3:-1] runtime error: slice bounds out of range [::-1]
array[0:3:0] runtime error: slice bounds out of range [:3:0]
array[0:3:3] no panic
array[0:3:4] runtime error: slice bounds out of range [::4] with length 3
array[0:3:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[0:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[0:4:-1] runtime error: slice bounds out of range [::-1]
array[0:4:0] runtime error: slice bounds out of range [:4:0]
array[0:4:3] runtime error: slice bounds out of range [:4:3]
array[0:4:4] runtime error: slice bounds out of range [::4] with length 3
array[0:4:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[0:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[0:9876543210:-1] runtime error: slice bounds out of range [::-1]
array[0:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
array[0:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
array[0:9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[0:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[3:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[3:-9876543210:-1] runtime error: slice bounds out of range [::-1]
array[3:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
array[3:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
array[3:-9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[3:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[3:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[3:-1:-1] runtime error: slice bounds out of range [::-1]
array[3:-1:0] runtime error: slice bounds out of range [:-1:]
array[3:-1:3] runtime error: slice bounds out of range [:-1:]
array[3:-1:4] runtime error: slice bounds out of range [::4] with length 3
array[3:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[3:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[3:0:-1] runtime error: slice bounds out of range [::-1]
array[3:0:0] runtime error: slice bounds out of range [3:0:]
array[3:0:3] runtime error: slice bounds out of range [3:0:]
array[3:0:4] runtime error: slice bounds out of range [::4] with length 3
array[3:0:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[3:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[3:3:-1] runtime error: slice bounds out of range [::-1]
array[3:3:0] runtime error: slice bounds out of range [:3:0]
array[3:3:3] no panic
array[3:3:4] runtime error: slice bounds out of range [::4] with length 3
array[3:3:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[3:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[3:4:-1] runtime error: slice bounds out of range [::-1]
array[3:4:0] runtime error: slice bounds out of range [:4:0]
array[3:4:3] runtime error: slice bounds out of range [:4:3]
array[3:4:4] runtime error: slice bounds out of range [::4] with length 3
array[3:4:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[3:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[3:9876543210:-1] runtime error: slice bounds out of range [::-1]
array[3:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
array[3:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
array[3:9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[3:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[4:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[4:-9876543210:-1] runtime error: slice bounds out of range [::-1]
array[4:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
array[4:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
array[4:-9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[4:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[4:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[4:-1:-1] runtime error: slice bounds out of range [::-1]
array[4:-1:0] runtime error: slice bounds out of range [:-1:]
array[4:-1:3] runtime error: slice bounds out of range [:-1:]
array[4:-1:4] runtime error: slice bounds out of range [::4] with length 3
array[4:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[4:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[4:0:-1] runtime error: slice bounds out of range [::-1]
array[4:0:0] runtime error: slice bounds out of range [4:0:]
array[4:0:3] runtime error: slice bounds out of range [4:0:]
array[4:0:4] runtime error: slice bounds out of range [::4] with length 3
array[4:0:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[4:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[4:3:-1] runtime error: slice bounds out of range [::-1]
array[4:3:0] runtime error: slice bounds out of range [:3:0]
array[4:3:3] runtime error: slice bounds out of range [4:3:]
array[4:3:4] runtime error: slice bounds out of range [::4] with length 3
array[4:3:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[4:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[4:4:-1] runtime error: slice bounds out of range [::-1]
array[4:4:0] runtime error: slice bounds out of range [:4:0]
array[4:4:3] runtime error: slice bounds out of range [:4:3]
array[4:4:4] runtime error: slice bounds out of range [::4] with length 3
array[4:4:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[4:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[4:9876543210:-1] runtime error: slice bounds out of range [::-1]
array[4:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
array[4:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
array[4:9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[4:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[9876543210:-9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[9876543210:-9876543210:-1] runtime error: slice bounds out of range [::-1]
array[9876543210:-9876543210:0] runtime error: slice bounds out of range [:-9876543210:]
array[9876543210:-9876543210:3] runtime error: slice bounds out of range [:-9876543210:]
array[9876543210:-9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[9876543210:-9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[9876543210:-1:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[9876543210:-1:-1] runtime error: slice bounds out of range [::-1]
array[9876543210:-1:0] runtime error: slice bounds out of range [:-1:]
array[9876543210:-1:3] runtime error: slice bounds out of range [:-1:]
array[9876543210:-1:4] runtime error: slice bounds out of range [::4] with length 3
array[9876543210:-1:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[9876543210:0:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[9876543210:0:-1] runtime error: slice bounds out of range [::-1]
array[9876543210:0:0] runtime error: slice bounds out of range [9876543210:0:]
array[9876543210:0:3] runtime error: slice bounds out of range [9876543210:0:]
array[9876543210:0:4] runtime error: slice bounds out of range [::4] with length 3
array[9876543210:0:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[9876543210:3:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[9876543210:3:-1] runtime error: slice bounds out of range [::-1]
array[9876543210:3:0] runtime error: slice bounds out of range [:3:0]
array[9876543210:3:3] runtime error: slice bounds out of range [9876543210:3:]
array[9876543210:3:4] runtime error: slice bounds out of range [::4] with length 3
array[9876543210:3:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[9876543210:4:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[9876543210:4:-1] runtime error: slice bounds out of range [::-1]
array[9876543210:4:0] runtime error: slice bounds out of range [:4:0]
array[9876543210:4:3] runtime error: slice bounds out of range [:4:3]
array[9876543210:4:4] runtime error: slice bounds out of range [::4] with length 3
array[9876543210:4:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3
array[9876543210:9876543210:-9876543210] runtime error: slice bounds out of range [::-9876543210]
array[9876543210:9876543210:-1] runtime error: slice bounds out of range [::-1]
array[9876543210:9876543210:0] runtime error: slice bounds out of range [:9876543210:0]
array[9876543210:9876543210:3] runtime error: slice bounds out of range [:9876543210:3]
array[9876543210:9876543210:4] runtime error: slice bounds out of range [::4] with length 3
array[9876543210:9876543210:9876543210] runtime error: slice bounds out of range [::9876543210] with length 3