Add counter-example for PR#5343
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
6306860e1f
commit
8427522b52
|
@ -0,0 +1,13 @@
|
|||
module M : sig
|
||||
type 'a t
|
||||
type u = u t and v = v t
|
||||
val f : int -> u
|
||||
val g : v -> bool
|
||||
end = struct
|
||||
type 'a t = 'a
|
||||
type u = int and v = bool
|
||||
let f x = x
|
||||
let g x = x
|
||||
end;;
|
||||
|
||||
let h (x : int) : bool = M.g (M.f x);;
|
Loading…
Reference in New Issue