aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2017-11-25 22:08:01 +0100
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2017-11-25 22:09:06 +0100
commitedb2b2535d62b37c324c98b28802c1b1699d4014 (patch)
tree73e2b1964b81b633369cbe06eb08e794f48311a1 /test-suite
parent4940f99922b0784d726b7c50abe63395713f012f (diff)
Restrict universe context when declaring constants in obligations.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/polymorphism.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/polymorphism.v b/test-suite/success/polymorphism.v
index b3f9a4994..d76b30791 100644
--- a/test-suite/success/polymorphism.v
+++ b/test-suite/success/polymorphism.v
@@ -461,3 +461,10 @@ Section test_letin_subtyping.
Qed.
End test_letin_subtyping.
+
+Module ObligationRegression.
+ (** Test for a regression encountered when fixing obligations for
+ stronger restriction of universe context. *)
+ Require Import CMorphisms.
+ Check trans_co_eq_inv_arrow_morphism@{_ _ _ _ _ _ _ _}.
+End ObligationRegression.