summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-recmod/t04bad.ml
blob: 6f39c910e1dbdbfacc9b45c06c5947a9de67421f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(* TEST_BELOW
(* Blank lines added here to preserve locations. *)




*)

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

(* TEST
 flags = " -w -a ";
 ocamlc_byte_exit_status = "2";
 setup-ocamlc.byte-build-env;
 ocamlc.byte;
 check-ocamlc.byte-output;
*)