aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Cohen2020-11-25 13:48:44 +0100
committerCyril Cohen2020-11-25 13:52:28 +0100
commit36664ba0ac77968037687634af0cd5a808335cfc (patch)
treebd80614db4fe9c6e1a660d7ae217390d7ada80bd
parent075811dc6424d9c7663e7913b7d7d7735e9c2dac (diff)
Testing {in _, _} and {pred _} from ssrbool
-rw-r--r--doc/changelog/06-ssreflect/13473-test_pred.rst4
-rw-r--r--test-suite/output/ssr_pred.out3
-rw-r--r--test-suite/output/ssr_pred.v3
3 files changed, 10 insertions, 0 deletions
diff --git a/doc/changelog/06-ssreflect/13473-test_pred.rst b/doc/changelog/06-ssreflect/13473-test_pred.rst
new file mode 100644
index 0000000000..3c7df11540
--- /dev/null
+++ b/doc/changelog/06-ssreflect/13473-test_pred.rst
@@ -0,0 +1,4 @@
+- **Added:**
+ Adding a test that the notations `{in _, _}` and `{pred _}` from `ssrbool.v` are displayed correctly.
+ (`#13473 <https://github.com/coq/coq/pull/13473>`_,
+ by Cyril Cohen).
diff --git a/test-suite/output/ssr_pred.out b/test-suite/output/ssr_pred.out
new file mode 100644
index 0000000000..f00111ff97
--- /dev/null
+++ b/test-suite/output/ssr_pred.out
@@ -0,0 +1,3 @@
+in1W
+ : forall (T1 : predArgType) (D1 : {pred T1}) (P1 : T1 -> Prop),
+ (forall x : T1, P1 x) -> {in D1, forall x : T1, P1 x}
diff --git a/test-suite/output/ssr_pred.v b/test-suite/output/ssr_pred.v
new file mode 100644
index 0000000000..bd88af80a3
--- /dev/null
+++ b/test-suite/output/ssr_pred.v
@@ -0,0 +1,3 @@
+Require Import ssreflect ssrfun ssrbool.
+
+Check @in1W.