summaryrefslogtreecommitdiff
path: root/test-suite/modules/modeq.v
blob: 73448dc7fea070057779f2f6666f8c47fad41625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Module M.
  Definition T:=nat.
  Definition x:T:=O.
End M.

Module Type SIG.
  Declare Module M:=Top.M.
  Module Type SIG.
    Parameter T:Set.
  End SIG.
  Declare Module N:SIG.
End SIG.

Module Z.
  Module M:=Top.M.
  Module Type SIG.
    Parameter T:Set.
  End SIG.
  Module N:=M.
End Z.

Module A:SIG:=Z.