aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-09-27 17:15:10 +0200
committerPierre-Marie Pédrot2016-09-29 17:55:31 +0200
commitedb55a94fc5c0473e57f5a61c0c723194c2ff414 (patch)
treed5949e1815b62e5cd1966d2930e375c1d224aa22 /test-suite
parent89c2942352ec5d8d5b9cfe1116376412770cb396 (diff)
Fix bug #4798: compat notations should not modify the parser.
This is a quick fix. The Metasyntax module should be thoroughly revised in trunk, because it starts featuring a lot of spaghetti code and redundant data.
Diffstat (limited to 'test-suite')
-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 0000000000..dbc3d46fce
--- /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 *)