aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorcoqbot-app[bot]2020-10-13 13:12:05 +0000
committerGitHub2020-10-13 13:12:05 +0000
commit9fa5174bac92de63bceae2c4e9ef70fab93198fd (patch)
tree9522f7abd098f6fbf7d232b042f4822a22c5d03a /test-suite
parent471da91fbef6656baf616b04a7f41a5440e52a52 (diff)
parentbdd2b322d26419ee9944b804e580d5b039631569 (diff)
Merge PR #13172: Fix #13169: vm_compute has existential crisis.
Reviewed-by: silene
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_13169.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13169.v b/test-suite/bugs/closed/bug_13169.v
new file mode 100644
index 0000000000..a0b564c725
--- /dev/null
+++ b/test-suite/bugs/closed/bug_13169.v
@@ -0,0 +1,14 @@
+Goal False.
+Proof.
+ set (H1:=I).
+ set (x:=true).
+ assert (H2: x = true) by reflexivity.
+ set (y:=false).
+ assert (H3: y = false) by reflexivity.
+ clearbody H1 x y.
+ eenough (H4: _ = false).
+ vm_compute in H4.
+ (* H4 now has "x:=y" in the evar context. *)
+ 2: exact H3.
+ match type of H4 with y = false => idtac end.
+Abort.