summaryrefslogtreecommitdiff
path: root/tests/broad_unif.ur
blob: bebd91049d24e4758074dfc83bf124ce211de047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
structure M = struct
        type t = int
        val f = fn x => x
        val y = f 0
end

signature S = sig
        type t
        val f : t -> t
end

structure M : S = struct
        type t = int
        val f = fn x => x
end