aboutsummaryrefslogtreecommitdiff
path: root/test-suite/failure/evarclear1.v
blob: 82697bf41e32e59eeb6065f8373add46ea751537 (plain)
1
2
3
4
5
6
7
8
9
10
Set Printing Existential Instances.
Set Printing All.
Goal forall y, let z := S y in exists x, x = 0.
intros.
eexists.
unfold z.
clear y z.
(* should fail because the evar should no longer be allowed to depend on z *)
Fail instantiate (1:=z).
Abort.