Fix PR#6836: Assertion failure using -short-paths

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2015-04-13 07:17:09 +00:00
parent 19a5d5eb50
commit 5b8e25d27a
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,6 @@
type t = [`A | `B];;
type 'a u = t;;
let a : [< int u] = `A;;
type 'a s = 'a;;
let b : [< t s] = `B;;

View File

@ -0,0 +1,7 @@
# type t = [ `A | `B ]
# type 'a u = t
# val a : [< int u > `A ] = `A
# type 'a s = 'a
# val b : [< t > `B ] = `B
#