From 802f5513983080884971b3d9c7ed0cc3ee76c404 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Tue, 25 Sep 2018 12:58:57 +0200 Subject: Fixes #8553 (regression of tactic "change" under binders). --- test-suite/bugs/closed/8553.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-suite/bugs/closed/8553.v (limited to 'test-suite/bugs') 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. -- cgit v1.2.3