summaryrefslogtreecommitdiff
path: root/tests/open.lac
blob: 47f812192a929670235e90f2faccdf683bd96940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
structure S = struct
        type t = int
        val x = 0

        structure S' : sig type u val y : t end = struct
                type u = t
                val y = x
        end

        signature Sig = sig
                type t
                val x : t
        end
end

open S.S'
open S
open S'

structure S' : Sig = S