Add counter-example for PR#5343

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2011-12-12 05:49:13 +00:00
parent 6306860e1f
commit 8427522b52
1 changed files with 13 additions and 0 deletions

View File

@ -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);;