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

(* Bad (not regular) *)
module rec A : sig type 'a t = 'a list B.t end
             = struct type 'a t = 'a list B.t end
       and B : sig type 'a t = <m: 'a array B.t> end
             = struct type 'a t = <m: 'a array B.t> end;;