From 36664ba0ac77968037687634af0cd5a808335cfc Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Wed, 25 Nov 2020 13:48:44 +0100 Subject: Testing {in _, _} and {pred _} from ssrbool --- doc/changelog/06-ssreflect/13473-test_pred.rst | 4 ++++ test-suite/output/ssr_pred.out | 3 +++ test-suite/output/ssr_pred.v | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 doc/changelog/06-ssreflect/13473-test_pred.rst create mode 100644 test-suite/output/ssr_pred.out create mode 100644 test-suite/output/ssr_pred.v 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 `_, + 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. -- cgit v1.2.3