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

module rec M
    : sig external f : int -> int = "%identity" end
    = struct external f : int -> int = "%identity" end