summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4798.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4798.v')
-rw-r--r--test-suite/bugs/closed/4798.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4798.v b/test-suite/bugs/closed/4798.v
new file mode 100644
index 00000000..dbc3d46f
--- /dev/null
+++ b/test-suite/bugs/closed/4798.v
@@ -0,0 +1,3 @@
+Check match 2 with 0 => 0 | S n => n end.
+Notation "|" := 1 (compat "8.4").
+Check match 2 with 0 => 0 | S n => n end. (* fails *)