summaryrefslogtreecommitdiff
path: root/test-suite/failure/evarclear2.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/failure/evarclear2.v')
-rw-r--r--test-suite/failure/evarclear2.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/failure/evarclear2.v b/test-suite/failure/evarclear2.v
new file mode 100644
index 00000000..e606a06f
--- /dev/null
+++ b/test-suite/failure/evarclear2.v
@@ -0,0 +1,9 @@
+Set Printing Existential Instances.
+Set Printing All.
+Goal let y:=0 in exists x:y=y, x = x.
+intros.
+eexists.
+rename y into z.
+unfold z at 1 2.
+(* should fail because the evar type depends on z *)
+clear z.