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

module type S =
sig
  type a
  type b
end
module Foo
    (Bar : S with type a = private [> `A])
    (Baz : S with type b = private < b : Bar.b ; .. >) =
struct
end