| 1 |
Module Type T. Axiom U : Type. End T. |
| 2 |
Module Type S. Declare Module B : T. End S. |
| 3 |
Module Type S' (X : T). Axiom U' : Type. End S'. |
| 4 |
Module Type M. Declare Module A : S. Declare Module A' : S'. End M. |
| 5 |
Fail Module Type N := M with Definition A.B.V := nat. |
| 6 |
Fail Module Type N := M with Definition A.C.U := nat. |
| 7 |
Fail Module Type N := M with Definition V := nat. |
| 8 |
Fail Module Type N := M with Definition A'.U' := nat. |
| 9 |
|
| 10 |
Module M1. Axiom T : Type. End M1. |
| 11 |
Module M2. Axiom T : Type. End M2. |
| 12 |
Module Type V. Module N := M1. End V. |
| 13 |
Fail Module Q : V with Module N := M2. |