aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2018-09-25 12:58:57 +0200
committerHugo Herbelin2018-09-27 13:27:10 +0200
commit802f5513983080884971b3d9c7ed0cc3ee76c404 (patch)
tree56d3f653683d69d77763424c19a785395dced3f3 /test-suite
parent49e9fe1c4666beda099872988144d12138dc6349 (diff)
Fixes #8553 (regression of tactic "change" under binders).
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/8553.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/8553.v b/test-suite/bugs/closed/8553.v
new file mode 100644
index 0000000000..4a1afabe89
--- /dev/null
+++ b/test-suite/bugs/closed/8553.v
@@ -0,0 +1,7 @@
+(* Using tactic "change" under binders *)
+
+Definition add2 n := n +2.
+Goal (fun n => n) = (fun n => n+2).
+change (?n + 2) with (add2 n).
+match goal with |- _ = (fun n => add2 n) => idtac end. (* To test the presence of add2 *)
+Abort.