summaryrefslogtreecommitdiff
path: root/test-suite/ssr/rewrite_illtyped.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/ssr/rewrite_illtyped.v')
-rw-r--r--test-suite/ssr/rewrite_illtyped.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/ssr/rewrite_illtyped.v b/test-suite/ssr/rewrite_illtyped.v
new file mode 100644
index 00000000..7358068c
--- /dev/null
+++ b/test-suite/ssr/rewrite_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.