summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-private-bugs/pr5469_ok.ml
blob: a5f36390a7551ee115d5d8cb90679c2c395d38a9 (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 M (T:sig type t end)
 = struct type t = private { t : T.t } end
module P
 = struct
       module T = struct type t end
       module R = M(T)
 end