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

Module N:S. End N.
Module NN <: T. Module M:=N. End NN.
Fail Module P <: T with Module M:=NN := NN.