summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5523.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5523.v')
-rw-r--r--test-suite/bugs/closed/5523.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5523.v b/test-suite/bugs/closed/5523.v
new file mode 100644
index 00000000..d7582a37
--- /dev/null
+++ b/test-suite/bugs/closed/5523.v
@@ -0,0 +1,6 @@
+(* Support for complex constructions in recursive notations, especially "match". *)
+
+Definition Let_In {A P} (x : A) (f : forall a : A, P a) : P x := let y := x in f y.
+Notation "'dlet' x , y := v 'in' ( a , b , .. , c )"
+ := (Let_In v (fun '(x, y) => pair .. (pair a b) .. c))
+ (at level 0).