aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2018-08-14 10:42:52 +0200
committerThéo Zimmermann2018-08-14 10:42:52 +0200
commit71aa2992f4e8a6eb2bc64ecf9aa40a9b0bc0f233 (patch)
treee7715726d85d24275904c5a5de10cec028e78457
parent18b662aa306c58d46292bdf79a2929c91d7d96fd (diff)
parent2e438a42635beb64d0cb5bee1704ae67a10c6097 (diff)
Merge PR #8221: Add regression test for issue #4202
-rw-r--r--test-suite/bugs/closed/4202.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4202.v b/test-suite/bugs/closed/4202.v
new file mode 100644
index 0000000000..522a3604a3
--- /dev/null
+++ b/test-suite/bugs/closed/4202.v
@@ -0,0 +1,10 @@
+Parameter g : nat -> Prop.
+Axiom a : forall n, g (S n).
+Lemma foo (H : True) : exists n, g n /\ g n.
+eexists.
+clear H.
+split.
+simple apply a.
+(* goal is "g (S ?Goal0@ {H:=H})" while H has long ceased to exist *)
+simpl.
+Abort.