aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/slice_equality.elna
blob: e34981a2b6455f053c3acc719e2166fb3477b83f (plain)
1
2
3
4
5
6
7
8
9
10
var
  lhs_payload, rhs_payload: [3]Int := [2, 4, 6]
  lhs, rhs: []Int

begin
  lhs := lhs_payload[1 to 3];
  rhs := rhs_payload[1 to 3];

  assert(lhs = rhs)
end.