aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/failure/circular_subtyping2.v
blob: 3bacdc6553d4da6fac94f8e41e29645a3aefd0f2 (plain)
1
2
3
4
5
6
7
8
(*subtyping verification in presence of  pseudo-circularity at functor application *)
Module Type S. End S.
Module Type T. Declare Module M:S. End T.
Module N:S. End N.

Module F (X:S) (Y:T with Module M:=X). End F.

Module G := F N N.