aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMaxime Dénès2017-10-05 18:26:45 +0200
committerMaxime Dénès2017-10-05 18:26:45 +0200
commit8ce4b0d7d16fe134d8621efc9d557ba3e9686b0f (patch)
tree7599e8d0d450f90aaa6af980bf6a132ea886ab8c /test-suite
parent5f48abba4280773d89095dce442a33c3ab95011d (diff)
parent775fefc7ca57cee1b3b8a368ac26492dbe5a8910 (diff)
Merge PR #1101: Fixing an old proof engine bug in collecting evars with cleared context.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/unshelve.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/success/unshelve.v b/test-suite/success/unshelve.v
index 672222bdd6..a4fa544cd9 100644
--- a/test-suite/success/unshelve.v
+++ b/test-suite/success/unshelve.v
@@ -9,3 +9,11 @@ unshelve (refine (F _ _ _ _)).
+ exact (@eq_refl bool true).
+ exact (@eq_refl unit tt).
Qed.
+
+(* This was failing in 8.6, because of ?a:nat being wrongly duplicated *)
+
+Goal (forall a : nat, a = 0 -> True) -> True.
+intros F.
+unshelve (eapply (F _);clear F).
+2:reflexivity.
+Qed.