summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4202.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4202.v')
-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 00000000..522a3604
--- /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.