aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/slice_equality.elna
blob: 534afec2cddef3536dcf06b9e3180f97165e2328 (plain)
1
2
3
4
5
6
7
8
9
10
11
program()
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.