aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/tuples_fail_out_of_bounds.sy
blob: cb0764ad7eede76611b20aeba19400c42b3d177e (plain) (blame)
1
2
3
4
5
6
start :: fn {
    a := (1, 2)
    a[2]
}

// errors: [ErrorKind::IndexOutOfBounds(_, 2, 2)]