summaryrefslogtreecommitdiff
path: root/tests/openRedef.ur
blob: 2d8161c38b2924a1c4d170a80cd7945945b1ee87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
structure M = struct
    con num = int
    val zero = 0
end

structure N = struct
    open M
    con num = num * num
    val zero = zero + 1
end

structure O = struct
    open N

    val one : num = (zero + 1, zero)
end