summaryrefslogtreecommitdiffstats
path: root/testsuite/tests/typing-misc/wellfounded.ml
blob: b33adc5e1775dcbde40f0f480e493dadd77833c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
(* PR#6768 *)

type _ prod = Prod : ('a * 'y) prod;;

let f : type t. t prod -> _ = function Prod ->
  let module M =
    struct
      type d = d * d
    end
  in ()
;;