diff options
Diffstat (limited to 'test-suite/failure/evarclear1.v')
-rw-r--r-- | test-suite/failure/evarclear1.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/failure/evarclear1.v b/test-suite/failure/evarclear1.v new file mode 100644 index 00000000..2e9fa0f3 --- /dev/null +++ b/test-suite/failure/evarclear1.v @@ -0,0 +1,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 *) +instantiate (1:=z). + |