aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMaxime Dénès2017-11-03 10:39:34 +0100
committerMaxime Dénès2017-11-03 10:39:34 +0100
commitd800568149afd703e1d0f61496459bf1a364a853 (patch)
tree16c7588cab3e28c51f0784717f69e513ab038b0c /test-suite
parentf5108ae3467fb82465778f9c36f609b227f23dc6 (diff)
parent424c682a1f9d2dfcac28318bc38c4602c180f5dc (diff)
Merge PR #6021: Fixing #2881 ("change with" failing in an Ltac definition).
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/2881.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/2881.v b/test-suite/bugs/closed/2881.v
new file mode 100644
index 0000000000..b4f09305b4
--- /dev/null
+++ b/test-suite/bugs/closed/2881.v
@@ -0,0 +1,7 @@
+(* About scoping of pattern variables in strict/non-strict mode *)
+
+Ltac eta_red := change (fun a => ?f0 a) with f0.
+Goal forall T1 T2 (f : T1 -> T2), (fun x => f x) = f.
+intros.
+eta_red.
+Abort.