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

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