aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/assign_to_slicing.elna
blob: 22664316a034cf9285f6b7d2210b6ec862b2eac8 (plain)
1
2
3
4
5
6
7
var
  s: [3]Int
  t: [2]Int

begin
  s[1 to 2] := t[1 to 2] (* @Error Expression of type '\[\]Int' is not addressable *)
end.