aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2020-03-13 17:52:02 +0100
committerHugo Herbelin2020-03-14 20:24:12 +0100
commit40c830beaad34a9ad435816da11fb93322368478 (patch)
tree1e8fef1ee6536593a628d53a73b3a9f8eb21aeb3 /test-suite
parent1f984236f4bdc441b80f19bcc32424a45d8168f3 (diff)
Fixes #11692 (clear dependent knows about let-in).
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/output/clear.out5
-rw-r--r--test-suite/output/clear.v8
2 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/output/clear.out b/test-suite/output/clear.out
new file mode 100644
index 0000000000..42e3abf26f
--- /dev/null
+++ b/test-suite/output/clear.out
@@ -0,0 +1,5 @@
+1 subgoal
+
+ z := 0 : nat
+ ============================
+ True
diff --git a/test-suite/output/clear.v b/test-suite/output/clear.v
new file mode 100644
index 0000000000..d584cf752e
--- /dev/null
+++ b/test-suite/output/clear.v
@@ -0,0 +1,8 @@
+Module Wish11692.
+
+(* Support for let-in in clear dependent *)
+
+Goal forall x : Prop, let z := 0 in let z' : (fun _ => True) x := I in let y := x in y -> True.
+Proof. intros x z z' y H. clear dependent x. Show. exact I. Qed.
+
+End Wish11692.