1 2 3 4 5 6 7 8 9 10 11 12 13 14
(* PR#6435 *) module F (M : sig type t module Set : Set.S with type elt = t end) = struct let test set = Printf.printf "%d\n" (M.Set.cardinal set) end module M = F (Offset) let () = M.test (Offset.M.Set.singleton "42") let v = Pr6726.Test.v