aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/slice_index.elna
blob: 70d26ae2b5d7665637c467cdc2b3ef0db031521e (plain)
1
2
3
4
5
6
7
8
9
10
11
proc f()
var
  a: []Int
  x: Int
  p: ^Int
begin
  x := a[1];
  a := p[1u to 10u]
return

end.