aboutsummaryrefslogtreecommitdiff
path: root/test-suite/success
diff options
context:
space:
mode:
authorMaxime Dénès2017-09-13 19:19:57 +0200
committerMaxime Dénès2017-09-13 19:19:57 +0200
commita86bdf0cae05e46d5f0516f29254aeb72bf08de7 (patch)
treef45611447003783c5cc5dde40c3a0e268b08325d /test-suite/success
parentcc94172036789cfef28007f59510b7f17df5d45d (diff)
parentb9106a956c32e1352fcad5f0138a4e3ddee0474c (diff)
Merge PR #981: Miscellaneous fixes for notations
Diffstat (limited to 'test-suite/success')
-rw-r--r--test-suite/success/Notations.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/success/Notations.v b/test-suite/success/Notations.v
index 837f2efd06..4d04f2cf9b 100644
--- a/test-suite/success/Notations.v
+++ b/test-suite/success/Notations.v
@@ -142,3 +142,8 @@ Fail Notation "'foobarkeyword'" := (@nil) (only parsing, only printing).
Reserved Notation "x === y" (at level 50).
Inductive EQ {A} (x:A) : A -> Prop := REFL : x === x
where "x === y" := (EQ x y).
+
+(* Check that strictly ident or _ are coerced to a name *)
+
+Fail Check {x@{u},y|x=x}.
+Fail Check {?[n],y|0=0}.