aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-08 10:17:53 +0200
committerPierre-Marie Pédrot2018-10-08 10:17:53 +0200
commitcbbd19eb3d9740063e900463f6406ba0a144c96a (patch)
tree39b9d0dda58bd110bbf41d1db8a79dd8d1220fb0 /test-suite
parent07ba57a0c313a86f4e0f87352cfa50646d00709f (diff)
parente5733e4a7ff6c933588b7181eb5234e2503a1b3a (diff)
Merge PR #8554: 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.