summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/bind/invalid-type-redefinition.tig
blob: cfe94960554fcf6d37653677758319c7e6363832 (plain)
1
2
3
4
5
6
7
8
9
10
/* public. */
/* This is invalid, since there are two types with the same name
    in the same (consecutive) batch of mutually recursive types.
    See also shadowing-types-separate  */
let
  type a = int
  type a = string
in
  0
end