summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5696.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5696.v')
-rw-r--r--test-suite/bugs/closed/5696.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5696.v b/test-suite/bugs/closed/5696.v
new file mode 100644
index 00000000..a20ad1b4
--- /dev/null
+++ b/test-suite/bugs/closed/5696.v
@@ -0,0 +1,5 @@
+(* Slightly improving interpretation of Ltac subterms in notations *)
+
+Notation "'var2' x .. y = z ; e" := (ltac:(exact z), (fun x => .. (fun y => e)
+..)) (at level 200, x binder, y binder, e at level 220).
+Check (var2 a = 1; a).