aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTej Chajed2018-08-06 16:39:47 -0400
committerTej Chajed2018-08-06 16:39:47 -0400
commit2e438a42635beb64d0cb5bee1704ae67a10c6097 (patch)
treedeacb22652ec2e6d5a99bed278f7aa757ff7e454
parenta7f06968eb57815fbf4f4479f0eea4cc01f7d40a (diff)
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.