aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/ssr
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2018-06-25 10:26:22 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-06-25 10:26:22 +0200
commit915452f9a73d25e45131edb08531c29a79ab7020 (patch)
tree8f00cbb8fd94224589714d30952f89d00f51a5cb /test-suite/ssr
parent05c18725cb0ae097bb56f74e88a89b13a5253f9e (diff)
parentfb825197d08554a208437ee31755a783ce48708b (diff)
Merge PR #7620: [ssr] rewrite: turn anomaly into regular error
Diffstat (limited to 'test-suite/ssr')
-rw-r--r--test-suite/ssr/ssr_rew_illtyped.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/ssr/ssr_rew_illtyped.v b/test-suite/ssr/ssr_rew_illtyped.v
new file mode 100644
index 000000000..7358068c8
--- /dev/null
+++ b/test-suite/ssr/ssr_rew_illtyped.v
@@ -0,0 +1,9 @@
+From Coq Require Import ssreflect Setoid.
+
+Structure SEProp := {prop_of : Prop; _ : prop_of <-> True}.
+
+Fact anomaly: forall P : SEProp, prop_of P.
+Proof.
+move=> [P E].
+Fail rewrite E.
+Abort.