aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-12-03 14:27:37 +0100
committerEmilio Jesus Gallego Arias2019-12-03 14:27:37 +0100
commiteffbc03b9072ff94f96e54a5026ce04d7aa41bcc (patch)
tree07310085b4d0263e211192ecf2ceeedd618cd167 /test-suite
parentde91f71b2e25e66ba4dd1f1db6582f5fea205591 (diff)
parent88fe0bcf86ad6cb95ffacfcd37f51fa3ae2da4fc (diff)
Merge PR #11113: Remove deprecated compat modifier of Notation / Infix commands.
Reviewed-by: JasonGross Reviewed-by: ejgallego Reviewed-by: maximedenes
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/NotationDeprecation.v24
1 files changed, 0 insertions, 24 deletions
diff --git a/test-suite/success/NotationDeprecation.v b/test-suite/success/NotationDeprecation.v
index 96814a1b97..60d40d3d12 100644
--- a/test-suite/success/NotationDeprecation.v
+++ b/test-suite/success/NotationDeprecation.v
@@ -3,19 +3,11 @@ Module Syndefs.
#[deprecated(since = "8.9", note = "Do not use.")]
Notation foo := Prop.
-Notation bar := Prop (compat "8.9").
-
-Fail
-#[deprecated(since = "8.9", note = "Do not use.")]
-Notation zar := Prop (compat "8.9").
-
Check foo.
-Check bar.
Set Warnings "+deprecated".
Fail Check foo.
-Fail Check bar.
End Syndefs.
@@ -24,19 +16,11 @@ Module Notations.
#[deprecated(since = "8.9", note = "Do not use.")]
Notation "!!" := Prop.
-Notation "##" := Prop (compat "8.9").
-
-Fail
-#[deprecated(since = "8.9", note = "Do not use.")]
-Notation "**" := Prop (compat "8.9").
-
Check !!.
-Check ##.
Set Warnings "+deprecated".
Fail Check !!.
-Fail Check ##.
End Notations.
@@ -45,18 +29,10 @@ Module Infix.
#[deprecated(since = "8.9", note = "Do not use.")]
Infix "!!" := plus (at level 1).
-Infix "##" := plus (at level 1, compat "8.9").
-
-Fail
-#[deprecated(since = "8.9", note = "Do not use.")]
-Infix "**" := plus (at level 1, compat "8.9").
-
Check (_ !! _).
-Check (_ ## _).
Set Warnings "+deprecated".
Fail Check (_ !! _).
-Fail Check (_ ## _).
End Infix.