summaryrefslogtreecommitdiff
path: root/testsuite/tests/shapes/typeof_include.ml
blob: 5dd60fab6e207455c99d3b6e8f99512d3afcbc72 (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
|}]