aboutsummaryrefslogtreecommitdiff
path: root/test-suite/modules/modeq.v
blob: 4ebcae82e5d1fd84f0ce1d952ff384c61ca8a66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(* coq-prog-args: ("-top" "modeq") *)
Module M.
  Definition T := nat.
  Definition x : T := 0.
End M.

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

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

Module A : SIG := Z.