summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-recmod/t15bad.ml
blob: efb99e681ea91bcc1f254c9b57f9c0d908440f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
(* TEST
flags = " -w -a "
ocamlc_byte_exit_status = "2"
* setup-ocamlc.byte-build-env
** ocamlc.byte
*** check-ocamlc.byte-output
*)

(* Bad - PR 4512 *)
module type S' = sig type t = int end
module rec M : S' with type t = M.t = struct type t = M.t end;;