aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-07-16 20:21:58 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-07-16 20:24:31 +0200
commit8591217a89f0b71e8175752dc55c42a5b89fccec (patch)
tree1bac3968b932b461cea285d4141136493408bb41 /test-suite/bugs
parent6a15394c542e5f16bce9b75fc033397c454f47e9 (diff)
Fixing bug #4240 (closure_of_filter was not ensuring refinement of
former filter after 48509b61 and 3cd718c, because filtered let-ins were not any longer preserved).
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/4240.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4240.v b/test-suite/bugs/closed/4240.v
new file mode 100644
index 000000000..083c59fe6
--- /dev/null
+++ b/test-suite/bugs/closed/4240.v
@@ -0,0 +1,12 @@
+(* Check that closure of filter did not restrict the former evar filter *)
+
+Lemma foo (new : nat) : False.
+evar (H1: nat).
+set (H3 := 0).
+assert (H3' := id H3).
+evar (H5: nat).
+clear H3.
+assert (H5 = new).
+unfold H5.
+unfold H1.
+exact (eq_refl new).