summaryrefslogtreecommitdiff
path: root/testsuite/tests/shapes/typeof_include.ml
blob: 724e60281eafd649213fefe10f284f60b5c1aad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(* TEST
 flags = "-dshape";
 expect;
*)

module type S = sig
  module M: sig
    (** A module M *)
  end

  module type T = module type of struct include M end
end

[%%expect{|
{
 "S"[module type] -> <.2>;
 }
module type S = sig module M : sig end module type T = sig end end
|}]