aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2011-05-15 11:40:05 +0000
committerherbelin2011-05-15 11:40:05 +0000
commit449a02d3a3fb4c63cd6732b28c9c629c8bb3bb5d (patch)
tree688f76f8ece462896312ff7b5bd942a9dd238dbe
parenta430afe4bdc1161a952e02b41acf5efd94609c26 (diff)
Test for bug 462 and 2342 fixed by Matthieu's 13990 (or so).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14124 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--test-suite/bugs/closed/shouldsucceed/2342.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2342.v b/test-suite/bugs/closed/shouldsucceed/2342.v
new file mode 100644
index 0000000000..094e5466cb
--- /dev/null
+++ b/test-suite/bugs/closed/shouldsucceed/2342.v
@@ -0,0 +1,8 @@
+(* Checking that the type inference algoithme does not commit to an
+ equality over sorts when only a subtyping constraint is around *)
+
+Parameter A : Set.
+Parameter B : A -> Set.
+Parameter F : Set -> Prop.
+Check (F (forall x, B x)).
+