summaryrefslogtreecommitdiff
path: root/tests/datatypeMod.lac
blob: 558275c8343565880dbb3c6140627fd102e26af6 (plain)
1
2
3
4
5
6
7
8
structure M : sig datatype t = A | B end = struct
        datatype t = A | B
end

datatype u = datatype M.t

val a : M.t = A
val a2 : u = a