aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-02-19 13:59:33 +0100
committerPierre-Marie Pédrot2016-02-19 14:08:29 +0100
commitd3012c8ac308b18272ddaa90c4eae7e517b63c7c (patch)
tree638f2414200a51bfe7eb1b8a0888c0f2d250f24a /test-suite
parent9aa2d99fb1ad6b348142fce244f277b9dd25017f (diff)
Fixing bug #4582: cannot override notation [ x ].
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/4582.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4582.v b/test-suite/bugs/closed/4582.v
new file mode 100644
index 0000000000..0842fb8fa7
--- /dev/null
+++ b/test-suite/bugs/closed/4582.v
@@ -0,0 +1,10 @@
+Require List.
+Import List.ListNotations.
+
+Variable Foo : nat -> nat.
+
+Delimit Scope Foo_scope with F.
+
+Notation " [ x ] " := (Foo x) : Foo_scope.
+
+Check ([1] : nat)%F.