aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorVincent Laporte2019-07-02 09:34:55 +0000
committerVincent Laporte2019-07-22 05:44:41 +0000
commit35a4196e8527da12ac63fb361211d138de8f62af (patch)
tree05a711eb6f9189931fc8f1047d8c4e5f177e1f0c /test-suite
parentcd6fc50854285f02bf151e94bdfb819988531fd2 (diff)
[Pretyping] Do not use the stale evarmap (in thin_evars)
Fixes #10300 and #10285.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_10300.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_10300.v b/test-suite/bugs/closed/bug_10300.v
new file mode 100644
index 0000000000..374c2cf967
--- /dev/null
+++ b/test-suite/bugs/closed/bug_10300.v
@@ -0,0 +1,14 @@
+Set Implicit Arguments.
+
+Definition hprop := nat -> Prop.
+
+Definition himpl := fun H1 H2 : hprop => forall (h : nat), H1 h -> H2 h.
+
+Parameter himpl_refl : forall H : hprop, himpl H H.
+
+Parameter hstar : hprop -> hprop -> hprop.
+
+Parameter hpure : hprop.
+
+Lemma test : (forall (H:hprop), himpl (hstar H H) hpure -> True) -> True.
+Proof. intros M. eapply M. apply himpl_refl. Abort.