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

module type FOO = sig type t end
module type BAR =
sig
  (* Works: module rec A : (sig include FOO with type t = < b:B.t > end) *)
  module rec A : (FOO with type t = < b:B.t >)
         and B : FOO
end