aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-17 09:06:34 +0200
committerMaxime Dénès2017-05-17 09:06:34 +0200
commitc64a28ee5a6643449f7c77ed7b8737e8f01ede52 (patch)
tree59e285e772f9ca094a837a8062dde3ff4c5fbf35 /test-suite/bugs
parent634448b8cc32f8141b779b1e40449411201cf897 (diff)
parent00964706efe8f6b13e38b57ddb45fac516feb958 (diff)
Merge PR#635: Fixing #5522 (anomaly with free vars of pat)
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/5522.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5522.v b/test-suite/bugs/closed/5522.v
new file mode 100644
index 0000000000..0fae9ede42
--- /dev/null
+++ b/test-suite/bugs/closed/5522.v
@@ -0,0 +1,7 @@
+(* Checking support for scope delimiters and as clauses in 'pat
+ applied to notations with binders *)
+
+Notation "'multifun' x .. y 'in' f" := (fun x => .. (fun y => f) .. )
+ (at level 200, x binder, y binder, f at level 200).
+
+Check multifun '((x, y)%core as z) in (x+y,0)=z.