summaryrefslogtreecommitdiffstats
path: root/tests/21-struct-datatype.sml
blob: ab714ea5625812610007dd51adfe0798571060bf (plain) (blame)
1
2
3
4
5
6
structure S = struct
  datatype D = D of int
end

val S.D x = S.D 42
val _ = __builtin "exit" x