From 2e438a42635beb64d0cb5bee1704ae67a10c6097 Mon Sep 17 00:00:00 2001 From: Tej Chajed Date: Mon, 6 Aug 2018 16:39:47 -0400 Subject: Add regression test for issue #4202 --- test-suite/bugs/closed/4202.v | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test-suite/bugs/closed/4202.v 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. -- cgit v1.2.3