ocaml/test/Moretest/recmod/02bad.ml

5 lines
145 B
OCaml

(* Bad (t = t) *)
module rec A : sig type t = B.t end = struct type t = B.t end
and B : sig type t = A.t end = struct type t = A.t end;;