aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-01 12:56:15 +0200
committerMaxime Dénès2017-06-01 12:56:15 +0200
commit48621da27d52be4825eea271d44bbd7362011dfa (patch)
tree886e7bc94d25e9eace924bf8b02e0d8d53aa3a4a /test-suite/bugs
parentf3a388baf9cf2a14a658cab77554a0802b999486 (diff)
parentdfdaf4de7870cc828b9887b8619b38f01d7e5493 (diff)
Merge PR#694: Fixing #5523 (missing support for complex constructions in recursive notations) (bis)
Diffstat (limited to 'test-suite/bugs')
-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 0000000000..d7582a3797
--- /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).