aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2018-07-20 23:37:23 +0200
committerHugo Herbelin2018-09-02 13:18:14 +0200
commit75f5e200f4f7eb6ca829869a8f8dada45e9751e9 (patch)
tree033d58b65bb24a2cef81fea1ff4e0d60a67930f3 /test-suite
parent6f1c4ac389e595e09fdf4653847d8c3ccca0befb (diff)
Fixing #8106 (anomaly if declaring levels for only printing then only parsing).
Notations were not initially designed to support independent parsing and printing rules. Some redesign of this part of the code shall be necessary at some time.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/8106.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/8106.v b/test-suite/bugs/closed/8106.v
new file mode 100644
index 0000000000..a711c5adef
--- /dev/null
+++ b/test-suite/bugs/closed/8106.v
@@ -0,0 +1,4 @@
+(* Was raising an anomaly "already assigned a level" on the second line *)
+
+Notation "c1 ; c2" := (c1 + c2) (only printing, at level 76, right associativity, c1 at level 76, c2 at level 76).
+Notation "c1 ; c2" := (c1 + c2) (only parsing, at level 76, right associativity, c2 at level 76).