summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/8553.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/8553.v')
-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 00000000..4a1afabe
--- /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.