summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/good/test30.tig
blob: 0e72b368b305d9d0be5b9c7464ccf1814606ada7 (plain)
1
2
3
4
5
6
7
8
9
10
/* synonyms are fine */

let
  type a = array of int
  type b = a

  var arr1 : a := b [10] of 0
in
  arr1[2]
end