aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-11-26 19:02:30 +0100
committerEmilio Jesus Gallego Arias2019-11-26 19:02:30 +0100
commit87d4a5569ad917f2e9b57d582386074ba51b62fc (patch)
tree5e108a85022d73e7928b93e2b12d9791bce37133 /test-suite
parentfebdae68adacafd2941d5932e2ddc9965db66122 (diff)
parent9bd0a6e2f87be55eab19363fa09674f2975b89a9 (diff)
Merge PR #11090: Printing of coercions to which a notation is associated: a refined version of #8890 which prevents #11033.
Ack-by: Zimmi48 Reviewed-by: ejgallego Ack-by: gares
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/output/Notations4.out2
-rw-r--r--test-suite/output/Notations4.v14
2 files changed, 16 insertions, 0 deletions
diff --git a/test-suite/output/Notations4.out b/test-suite/output/Notations4.out
index ba4ac5a8f9..32120a9674 100644
--- a/test-suite/output/Notations4.out
+++ b/test-suite/output/Notations4.out
@@ -59,3 +59,5 @@ where
|- Type] (pat, p0, p cannot be used)
fun '{| |} => true
: R -> bool
+b = a
+ : Prop
diff --git a/test-suite/output/Notations4.v b/test-suite/output/Notations4.v
index 4b9d0abd95..d3433949d1 100644
--- a/test-suite/output/Notations4.v
+++ b/test-suite/output/Notations4.v
@@ -140,3 +140,17 @@ Record R := { n : nat }.
Check fun '{|n:=x|} => true.
End EmptyRecordSyntax.
+
+Module L.
+
+(* Testing regression #11053 *)
+
+Section Test.
+Variables (A B : Type) (a : A) (b : B).
+Variable c : A -> B.
+Coercion c : A >-> B.
+Notation COERCION := (c).
+Check b = a.
+End Test.
+
+End L.